Skip to content

Commit

Permalink
Fix build on Linux 6.6+ without CONFIG_FB_DEVICE
Browse files Browse the repository at this point in the history
Fixes issue torvalds#38
  • Loading branch information
cgrenz committed Sep 26, 2024
1 parent d3501dc commit 0233e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddcci-backlight/ddcci-backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static int ddcci_backlight_check_fb(struct backlight_device *bl,
{
struct ddcci_monitor_drv_data *drv_data = bl_get_data(bl);

return drv_data->fb_dev == NULL || drv_data->fb_dev == info->dev;
return drv_data->fb_dev == NULL || drv_data->fb_dev == info->device;
}
#endif

Expand Down

0 comments on commit 0233e1e

Please sign in to comment.