aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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