Skip to content

Commit

Permalink
Build fixing fl2000_registers
Browse files Browse the repository at this point in the history
  • Loading branch information
klogg committed Sep 11, 2024
1 parent aa2ee57 commit 7caf29e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fl2000_registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,11 @@ int fl2000_enable_interrupts(struct usb_device *usb_dev)
*/
int fl2000_check_interrupt(struct usb_device *usb_dev)
{
int ret;
struct regmap *regmap = dev_get_regmap(&usb_dev->dev, NULL);
union fl2000_vga_status_reg status;
bool sink_event;
int ret;
u32 mask = 0;

/* Process interrupt */
ret = regmap_read(regmap, FL2000_VGA_STATUS_REG, &status.val);
Expand Down

0 comments on commit 7caf29e

Please sign in to comment.