summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMiguel Aguilar <miguel.aguilar@ridgerun.com>2010-01-06 09:06:50 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-06 09:17:11 +0100
commit861a64428c0786a5cfa2ffb36b2f8058dea5dda0 (patch)
treea89ebbb8340e1f9fde705bf968a567e61c497573 /arch/arm
parentInput: evdev - be less aggressive about sending SIGIO notifies (diff)
downloadlinux-861a64428c0786a5cfa2ffb36b2f8058dea5dda0.tar.xz
linux-861a64428c0786a5cfa2ffb36b2f8058dea5dda0.zip
Input: davinci_keyscan - add device_enable method to platform data
Add a function pointer in the platform data of the DaVinci Keyscan driver called device_enable, in order to perform board specific actions when the device is initialized, like setup the PINMUX configuration. Signed-off-by: Miguel Aguilar <miguel.aguilar@ridgerun.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-davinci/include/mach/keyscan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/keyscan.h b/arch/arm/mach-davinci/include/mach/keyscan.h
index b4e21a2976d1..7a560e05bda8 100644
--- a/arch/arm/mach-davinci/include/mach/keyscan.h
+++ b/arch/arm/mach-davinci/include/mach/keyscan.h
@@ -29,6 +29,7 @@ enum davinci_matrix_types {
};
struct davinci_ks_platform_data {
+ int (*device_enable)(struct device *dev);
unsigned short *keymap;
u32 keymapsize;
u8 rep:1;