]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware
authorRichard Purdie <rpurdie@rpsys.net>
Fri, 31 Mar 2006 10:31:51 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:19:00 +0000 (12:19 -0800)
commit9913b756faa8bb4011adc60c3067d5430f149f91
tree9b53b4ffd3b118561d5210ca3962c592a428d7cd
parenta96f66099bb2faa04520e32ee782d022ed6f9e6a
[PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware

Generalise the Corgi backlight driver by moving the default intensity and
limit mask settings into the platform specific data structure.  This enables
the driver to support other Zaurus hardware, specifically the SL-6000x (Tosa)
model.

Also change the spinlock to a mutex (the spinlock is overkill).

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/spitz.c
drivers/video/backlight/Kconfig
drivers/video/backlight/corgi_bl.c
include/asm-arm/arch-pxa/sharpsl.h