diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-07-01 16:15:52 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-07-01 16:18:20 +0200 |
commit | b20c5367514dc976afbc7f074ad5b8a49bbc592b (patch) | |
tree | c2c1fea30eb963aa6f616d92f93467d42fe08fec /exynos4/exynos4x12 | |
parent | 679d203f63c9c6c64825b2df0b0f005e4aaaeee4 (diff) | |
download | hardware_samsung-b20c5367514dc976afbc7f074ad5b8a49bbc592b.zip hardware_samsung-b20c5367514dc976afbc7f074ad5b8a49bbc592b.tar.gz hardware_samsung-b20c5367514dc976afbc7f074ad5b8a49bbc592b.tar.bz2 |
fix for fix keypad lighting up when screen backlight auto-adjusts
Change-Id: I61e987b4fcae277ab4a1ec6585b25255a445b238
Diffstat (limited to 'exynos4/exynos4x12')
-rw-r--r-- | exynos4/exynos4x12/liblights/lights.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos4/exynos4x12/liblights/lights.c b/exynos4/exynos4x12/liblights/lights.c index de2f653..e8336d2 100644 --- a/exynos4/exynos4x12/liblights/lights.c +++ b/exynos4/exynos4x12/liblights/lights.c @@ -126,7 +126,7 @@ static int set_light_backlight(struct light_device_t *dev, struct light_state_t const *state) { int err = 0; - status int s_previous_brightness = -1; + static int s_previous_brightness = -1; int brightness = rgb_to_brightness(state); pthread_mutex_lock(&g_lock); |