diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 02:19:50 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 02:19:50 (GMT) |
commit | 6f35308c3ffa256bed183adf6f2c0c6c211ca487 (patch) | |
tree | f1aaaec5f650bdd80d30230df25bbf33e43efd5f /include | |
parent | 19ad7ae47e4ce4eb2a583e437d653a96da7897ac (diff) | |
parent | c3f8f65046127f471d0b6193a1923185b354c011 (diff) | |
download | linux-fsl-qoriq-6f35308c3ffa256bed183adf6f2c0c6c211ca487.tar.xz |
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
backlight: Convert corgi backlight driver into a more generic driver
backlight: Add Samsung LTV350QV LCD driver
backlight: Fix cr_bllcd allocations and error paths
backlight/leds: Make two structs static
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-pxa/sharpsl.h | 6 | ||||
-rw-r--r-- | include/linux/backlight.h | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/include/asm-arm/arch-pxa/sharpsl.h b/include/asm-arm/arch-pxa/sharpsl.h index 94cb498..2b0fe77 100644 --- a/include/asm-arm/arch-pxa/sharpsl.h +++ b/include/asm-arm/arch-pxa/sharpsl.h @@ -25,12 +25,6 @@ struct corgits_machinfo { /* * SharpSL Backlight */ -struct corgibl_machinfo { - int max_intensity; - int default_intensity; - int limit_mask; - void (*set_bl_intensity)(int intensity); -}; extern void corgibl_limit_intensity(int limit); diff --git a/include/linux/backlight.h b/include/linux/backlight.h index c897c7b..1ee9488 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h @@ -92,4 +92,13 @@ static inline void * bl_get_data(struct backlight_device *bl_dev) return dev_get_drvdata(&bl_dev->dev); } +struct generic_bl_info { + const char *name; + int max_intensity; + int default_intensity; + int limit_mask; + void (*set_bl_intensity)(int intensity); + void (*kick_battery)(void); +}; + #endif |