Allows usage of imx keypad driver in imx53 platforms --- arch/arm/mach-imx/include/mach/devices-imx53.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h index 5f967ea..6692396 100644 --- a/arch/arm/mach-imx/include/mach/devices-imx53.h +++ b/arch/arm/mach-imx/include/mach/devices-imx53.h @@ -82,3 +82,8 @@ static inline struct device_d *imx53_add_nand(struct imx_nand_platform_data *pda return dev; } + +static inline struct device_d *imx53_add_kpp(struct matrix_keymap_data *pdata) +{ + return imx_add_kpp((void *)MX53_KPP_BASE_ADDR, pdata); +} -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox