summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/bd6107.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight/bd6107.c')
-rw-r--r--drivers/video/backlight/bd6107.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/bd6107.c b/drivers/video/backlight/bd6107.c
index fdb2f7e2c..3eaa250f1 100644
--- a/drivers/video/backlight/bd6107.c
+++ b/drivers/video/backlight/bd6107.c
@@ -110,7 +110,7 @@ static int bd6107_backlight_check_fb(struct backlight_device *backlight,
{
struct bd6107 *bd = bl_get_data(backlight);
- return bd->pdata->fbdev == NULL || bd->pdata->fbdev == info->dev;
+ return bd->pdata->fbdev == NULL || bd->pdata->fbdev == info->device;
}
static const struct backlight_ops bd6107_backlight_ops = {