Skip to content

Commit 0233e1e

Browse files
committed
Fix build on Linux 6.6+ without CONFIG_FB_DEVICE
Fixes issue torvalds#38
1 parent d3501dc commit 0233e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ddcci-backlight/ddcci-backlight.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int ddcci_backlight_check_fb(struct backlight_device *bl,
102102
{
103103
struct ddcci_monitor_drv_data *drv_data = bl_get_data(bl);
104104

105-
return drv_data->fb_dev == NULL || drv_data->fb_dev == info->dev;
105+
return drv_data->fb_dev == NULL || drv_data->fb_dev == info->device;
106106
}
107107
#endif
108108

0 commit comments

Comments
 (0)