9
0
Fork 0

imx53: implement imx53_add_kpp

Allows usage of imx keypad driver in imx53 platforms

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Christian Kapeller 2012-11-15 11:51:11 +01:00 committed by Sascha Hauer
parent 47515fbdaa
commit 0a6da02621
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}