Input: davinci_keyscan - add device_enable method to platform data
authorMiguel Aguilar <miguel.aguilar@ridgerun.com>
Wed, 6 Jan 2010 08:06:50 +0000 (00:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Jan 2010 08:17:11 +0000 (00:17 -0800)
commit861a64428c0786a5cfa2ffb36b2f8058dea5dda0
treea89ebbb8340e1f9fde705bf968a567e61c497573
parent30a589fde0162aa4dac7c69803aeee8fbe8d1b82
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>
arch/arm/mach-davinci/include/mach/keyscan.h
drivers/input/keyboard/davinci_keyscan.c