diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-09-13 04:25:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 11:22:31 -0400 |
commit | 1351e6e093271d0f5056f3ac272864cf4383041a (patch) | |
tree | bf96bf863b242529b56b7941c650b1cf0164c3be /include/asm-arm | |
parent | 513b6e1afaf81b42cacbb24ef1aa7eea5e9661c2 (diff) |
[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 <rpurdie@rpsys.net>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-pxa/sharpsl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/sharpsl.h b/include/asm-arm/arch-pxa/sharpsl.h index 1e1d11033940..311f2bb5386a 100644 --- a/include/asm-arm/arch-pxa/sharpsl.h +++ b/include/asm-arm/arch-pxa/sharpsl.h | |||
@@ -20,3 +20,13 @@ struct corgits_machinfo { | |||
20 | void (*put_hsync)(void); | 20 | void (*put_hsync)(void); |
21 | void (*wait_hsync)(void); | 21 | void (*wait_hsync)(void); |
22 | }; | 22 | }; |
23 | |||
24 | /* | ||
25 | * SharpSL Backlight | ||
26 | */ | ||
27 | |||
28 | struct corgibl_machinfo { | ||
29 | int max_intensity; | ||
30 | void (*set_bl_intensity)(int intensity); | ||
31 | }; | ||
32 | |||