summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/wm97xx-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
index 37b8d17a8334..2cca5b5e0b1a 100644
--- a/drivers/input/touchscreen/wm97xx-core.c
+++ b/drivers/input/touchscreen/wm97xx-core.c
@@ -676,7 +676,7 @@ static int wm97xx_probe(struct device *dev)
platform_set_drvdata(wm->battery_dev, wm);
wm->battery_dev->dev.parent = dev;
-#ifdef CONFIG_MACH_COLIBRI_T20
+#if defined(CONFIG_MACH_COLIBRI_T20) && !defined(CONFIG_ANDROID)
wm->battery_dev->dev.platform_data = get_colibri_t20_audio_platform_data();
#else
wm->battery_dev->dev.platform_data = pdata;