Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105556
b: refs/heads/master
c: 0c53136
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Jul 24, 2008
1 parent 2469aa3 commit ab096ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cccb6d3c149603b9c15d3c460dff317455df1766
refs/heads/master: 0c531360ed504aa0ce995fcb8ef08e82b6534d0b
2 changes: 1 addition & 1 deletion trunk/drivers/video/backlight/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static int fb_notifier_callback(struct notifier_block *self,
ld = container_of(self, struct lcd_device, fb_notif);
mutex_lock(&ld->ops_lock);
if (ld->ops)
if (!ld->ops->check_fb || ld->ops->check_fb(evdata->info))
if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info))
ld->ops->set_power(ld, *(int *)evdata->data);
mutex_unlock(&ld->ops_lock);
return 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/bf54x-lq043fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast)
return 0;
}

static int bfin_lcd_check_fb(struct fb_info *fi)
static int bfin_lcd_check_fb(struct lcd_device *dev, struct fb_info *fi)
{
if (!fi || (fi == &bfin_bf54x_fb))
return 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/bfin-t350mcqb-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast)
return 0;
}

static int bfin_lcd_check_fb(struct fb_info *fi)
static int bfin_lcd_check_fb(struct lcd_device *dev, struct fb_info *fi)
{
if (!fi || (fi == &bfin_t350mcqb_fb))
return 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct lcd_ops {
int (*set_contrast)(struct lcd_device *, int contrast);
/* Check if given framebuffer device is the one LCD is bound to;
return 0 if not, !=0 if it is. If NULL, lcd always matches the fb. */
int (*check_fb)(struct fb_info *);
int (*check_fb)(struct lcd_device *, struct fb_info *);
};

struct lcd_device {
Expand Down

0 comments on commit ab096ee

Please sign in to comment.