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:
Richard Purdie 2007-09-03 00:27:00 +01:00
commit c3f8f65046
6 changed files with 57 additions and 27 deletions

View file

@ -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);