diff options
author | Abraham Arce <x0066660@ti.com> | 2010-09-29 23:35:57 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-10-13 07:49:25 -0700 |
commit | f3a1ba60dbdbf46f2715cc4e3f8abc9d65c4d9bf (patch) | |
tree | e6a3a21412ec023e18f8cbea07377b48da4f5f7e /arch/arm/plat-omap | |
parent | 4c61c8457ee92a2afc5a43aa0821971727ebd38c (diff) |
Input: omap4-keypad - use platform device helpers
Get mem and irq resources using platform helpers
- platform_get_base
- platform_get_irq
Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap4-keypad.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap4-keypad.h b/arch/arm/plat-omap/include/plat/omap4-keypad.h index 522a8ab5c5f..2b1d9bc1eeb 100644 --- a/arch/arm/plat-omap/include/plat/omap4-keypad.h +++ b/arch/arm/plat-omap/include/plat/omap4-keypad.h @@ -8,9 +8,7 @@ struct omap4_keypad_platform_data { u8 rows; u8 cols; - - u16 irq; - void __iomem *base; }; +extern int omap4_keyboard_init(struct omap4_keypad_platform_data *); #endif |