mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
backlight: Convert corgi backlight driver into a more generic driver
Convert the corgi backlight driver to a more generic version so it can be reused by other code rather than being Zaurus/PXA specific. Signed-off-by: Richard Purdie <[email protected]>
This commit is contained in:
parent
18f65c793a
commit
c3f8f65046
6 changed files with 57 additions and 27 deletions
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue