[PATCH] imx53: implement imx53_add_kpp
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 19 05:32:12 EST 2012
On Thu, Nov 15, 2012 at 11:51:11AM +0100, Christian Kapeller wrote:
> Allows usage of imx keypad driver in imx53 platforms
Applied, thanks
Sascha
>
> ---
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list