summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>2011-09-22 16:39:54 +0530
committerVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>2011-09-22 18:19:56 +0530
commitccb4b560d11f6632178dfa17024f026eccbb4fde (patch)
treec0e349bb9350ba19314c3481cef535947db5d9a0 /arch/arm/mach-ux500/board-mop500.c
parentabca64e5d564e8902c831e24348f6215f884d352 (diff)
input:misc: Add accessory driver
Add driver for the accessory detection block of the ab5500 PMIC. The common functions from the 8500 accessory driver are moved to abx500-accdet generic driver. This generic driver uses callbacks registerd from the 8500 and 5500 specific driver to work as a accessory driver for a perticluar platform. ST Ericsson ID: 353610 ST Ericsson FOSS-OUT ID: Trivial ST Ericsson Linux next: NA Change-Id: Ifb06f9c9dd0dc59cbc071198c9e244a422a63af0 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 92677f5aa7f..0060f0399a4 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -48,7 +48,7 @@
#include <mach/setup.h>
#include <mach/devices.h>
#include <mach/sensors1p.h>
-#include <mach/ab8500-accdet.h>
+#include <mach/abx500-accdet.h>
#include <mach/irqs.h>
#include <mach/ste_audio.h>
#include <mach/ste-dma40-db8500.h>
@@ -144,7 +144,7 @@ static struct ab8500_gpio_platform_data ab8500_gpio_pdata = {
};
#ifdef CONFIG_INPUT_AB8500_ACCDET
-static struct ab8500_accdet_platform_data ab8500_accdet_pdata = {
+static struct abx500_accdet_platform_data ab8500_accdet_pdata = {
.btn_keycode = KEY_MEDIA,
.accdet1_dbth = ACCDET1_TH_1200mV | ACCDET1_DB_70ms,
.accdet2122_th = ACCDET21_TH_1000mV | ACCDET22_TH_1000mV,