mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] SharpSL: Abstract model specifics from Corgi Backlight driver
Separate out the Sharp Zaurus c7x0 series specific code from the Corgi backlight driver. Abstract model/machine specific functions to corgi_lcd.c via sharpsl.h This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie <[email protected]> Cc: Vojtech Pavlik <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
513b6e1afa
commit
1351e6e093
5 changed files with 100 additions and 14 deletions
|
|
@ -20,3 +20,13 @@ struct corgits_machinfo {
|
|||
void (*put_hsync)(void);
|
||||
void (*wait_hsync)(void);
|
||||
};
|
||||
|
||||
/*
|
||||
* SharpSL Backlight
|
||||
*/
|
||||
|
||||
struct corgibl_machinfo {
|
||||
int max_intensity;
|
||||
void (*set_bl_intensity)(int intensity);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue