[PATCHv6 1/3] ARM: imx: Add gpio-keys to plat-mxc

Eric Bénard eric at eukrea.com
Sat Oct 23 04:06:21 EDT 2010


Hi Dinh,

Le 23/10/2010 04:46, Dinh.Nguyen at freescale.com a écrit :
> +struct platform_device *__init imx_add_gpio_keys(
> +		const struct gpio_keys_platform_data *pdata)
> +{
> +	return imx_add_platform_device("gpio-keys", -1, NULL,
> +		 0, pdata, sizeof(*pdata));
> +}

What is the added value of this ?
gpio-keys is not i.MX specific so why should that land in plat-mxc ?

Eric



More information about the linux-arm-kernel mailing list