git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: Convert from struct class_device to struct device
[safe/jmp/linux-2.6]
/
drivers
/
video
/
aty
/
atyfb_base.c
diff --git
a/drivers/video/aty/atyfb_base.c
b/drivers/video/aty/atyfb_base.c
index
2fbff63
..
d2c68c3
100644
(file)
--- a/
drivers/video/aty/atyfb_base.c
+++ b/
drivers/video/aty/atyfb_base.c
@@
-2141,7
+2141,7
@@
static int aty_bl_get_level_brightness(struct atyfb_par *par, int level)
static int aty_bl_update_status(struct backlight_device *bd)
{
- struct atyfb_par *par =
class_get_devdata(&bd->class_dev
);
+ struct atyfb_par *par =
bl_get_data(bd
);
unsigned int reg = aty_ld_lcd(LCD_MISC_CNTL, par);
int level;