Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12e87808 authored by Richard Purdie's avatar Richard Purdie Committed by Linus Torvalds
Browse files

[PATCH] SharpSL: Add missing hunk from backlight update



This hunk from the sharpsl/corgi backlight update appears to have got lost
somewhere along the way.  Its needed to match the other changes.

Signed-Off-By: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d7e70ba4
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -19,17 +19,18 @@
#include <linux/fb.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/backlight.h>


#include <asm/arch-pxa/corgi.h>
#include <asm/mach-types.h>
#include <asm/hardware/scoop.h>
#include <asm/arch/sharpsl.h>


#define CORGI_MAX_INTENSITY 		0x3e
#define CORGI_DEFAULT_INTENSITY		0x1f
#define CORGI_DEFAULT_INTENSITY		0x1f
#define CORGI_LIMIT_MASK		0x0b
#define CORGI_LIMIT_MASK		0x0b


static int corgibl_powermode = FB_BLANK_UNBLANK;
static int corgibl_powermode = FB_BLANK_UNBLANK;
static int current_intensity = 0;
static int current_intensity = 0;
static int corgibl_limit = 0;
static int corgibl_limit = 0;
static void (*corgibl_mach_set_intensity)(int intensity);
static spinlock_t bl_lock = SPIN_LOCK_UNLOCKED;
static spinlock_t bl_lock = SPIN_LOCK_UNLOCKED;
static struct backlight_properties corgibl_data;


static void corgibl_send_intensity(int intensity)
static void corgibl_send_intensity(int intensity)
{
{