aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTruong Ta Xuan <truongtx8@gmail.com>2014-01-17 19:59:34 +0700
committersbrissen <sbrissen@hotmail.com>2014-01-17 10:21:32 -0500
commitfc2c3ebcd40150a0a9ae81a40ca14c8709bea943 (patch)
tree15c96d29bd4ac2d996a294c45fd1f89f7c860766 /include
parentec7e808dfe37121fdd2ad87bfee428e3ea78bbe9 (diff)
downloadkernel_samsung_smdk4412-fc2c3ebcd40150a0a9ae81a40ca14c8709bea943.zip
kernel_samsung_smdk4412-fc2c3ebcd40150a0a9ae81a40ca14c8709bea943.tar.gz
kernel_samsung_smdk4412-fc2c3ebcd40150a0a9ae81a40ca14c8709bea943.tar.bz2
Fix light sensors for GT-N5100
Change-Id: Ifd1bd76ec2ebf8014107747474145d0bfc9a3281
Diffstat (limited to 'include')
-rw-r--r--include/linux/sensor/gp2a.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sensor/gp2a.h b/include/linux/sensor/gp2a.h
index 08ec548..1c9618a 100644
--- a/include/linux/sensor/gp2a.h
+++ b/include/linux/sensor/gp2a.h
@@ -63,18 +63,12 @@ extern char proximity_sensor_detection;
/* prototype */
int opt_i2c_read(u8 reg, unsigned char *rbuf, int len);
int opt_i2c_write(u8 reg, u8 *val);
-#ifndef CONFIG_MACH_KONA_SENSOR
int lightsensor_get_adcvalue(void);
-#endif
int is_gp2a030a(void);
struct gp2a_platform_data {
int (*gp2a_led_on) (bool);
int p_out; /* proximity-sensor-output gpio */
-#ifdef CONFIG_MACH_KONA_SENSOR
- unsigned long (*gp2a_get_threshold)(u8 *);
-#else
unsigned long (*gp2a_get_threshold)(void);
-#endif
};
#endif