summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2012-05-23 20:22:25 +0200
committercodeworkx <daniel.hillenbrand@codeworkx.de>2012-05-23 20:22:25 +0200
commit9eb34160302dbf64076da9397a25e047c22e062f (patch)
treee49bc1aebd7e596e8405fbed44413d7b001c15a5
parent759cb25d9c3006a476263d76cca5adcbf4979751 (diff)
downloadandroid_hardware_samsung-9eb34160302dbf64076da9397a25e047c22e062f.tar.gz
android_hardware_samsung-9eb34160302dbf64076da9397a25e047c22e062f.tar.bz2
android_hardware_samsung-9eb34160302dbf64076da9397a25e047c22e062f.zip
liblights: adjust file location for smdk4210 kernel
Change-Id: Ib66a360729d25619b4270f081659b18e18437be3
-rw-r--r--exynos4/exynos4210/liblights/lights.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/exynos4/exynos4210/liblights/lights.c b/exynos4/exynos4210/liblights/lights.c
index 7cbe9d4..7a15a33 100644
--- a/exynos4/exynos4210/liblights/lights.c
+++ b/exynos4/exynos4210/liblights/lights.c
@@ -39,13 +39,10 @@ static pthread_once_t g_init = PTHREAD_ONCE_INIT;
static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER;
static int g_enable_touchlight = -1;
-#ifdef EXYNOS4210_TABLET
-char const*const PANEL_FILE
- = "/sys/class/backlight/backlight/brightness";
-#else
char const*const PANEL_FILE
= "/sys/class/backlight/panel/brightness";
+#ifndef EXYNOS4210_TABLET
char const*const BUTTON_POWER
= "/sys/class/sec/sec_touchkey/enable_disable";