diff options
| -rw-r--r-- | drivers/video/backlight/corgi_bl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/video/backlight/corgi_bl.c b/drivers/video/backlight/corgi_bl.c index a32817678552..630f2dfa9699 100644 --- a/drivers/video/backlight/corgi_bl.c +++ b/drivers/video/backlight/corgi_bl.c | |||
| @@ -19,17 +19,18 @@ | |||
| 19 | #include <linux/fb.h> | 19 | #include <linux/fb.h> |
| 20 | #include <linux/backlight.h> | 20 | #include <linux/backlight.h> |
| 21 | 21 | ||
| 22 | #include <asm/arch-pxa/corgi.h> | 22 | #include <asm/mach-types.h> |
| 23 | #include <asm/hardware/scoop.h> | 23 | #include <asm/arch/sharpsl.h> |
| 24 | 24 | ||
| 25 | #define CORGI_MAX_INTENSITY 0x3e | ||
| 26 | #define CORGI_DEFAULT_INTENSITY 0x1f | 25 | #define CORGI_DEFAULT_INTENSITY 0x1f |
| 27 | #define CORGI_LIMIT_MASK 0x0b | 26 | #define CORGI_LIMIT_MASK 0x0b |
| 28 | 27 | ||
| 29 | static int corgibl_powermode = FB_BLANK_UNBLANK; | 28 | static int corgibl_powermode = FB_BLANK_UNBLANK; |
| 30 | static int current_intensity = 0; | 29 | static int current_intensity = 0; |
| 31 | static int corgibl_limit = 0; | 30 | static int corgibl_limit = 0; |
| 31 | static void (*corgibl_mach_set_intensity)(int intensity); | ||
| 32 | static spinlock_t bl_lock = SPIN_LOCK_UNLOCKED; | 32 | static spinlock_t bl_lock = SPIN_LOCK_UNLOCKED; |
| 33 | static struct backlight_properties corgibl_data; | ||
| 33 | 34 | ||
| 34 | static void corgibl_send_intensity(int intensity) | 35 | static void corgibl_send_intensity(int intensity) |
| 35 | { | 36 | { |
