[PATCH 3.1 3/4] ARM:simpad: add GPIO based device definitions.

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Tue Jul 12 03:32:18 EDT 2011


Jochen Friedrich wrote:

> Register keyboard, polled keyboard and I2C platform
> devices based on GPIOs.
>
> V3: Split LED changes into seperate patch.
>
> Signed-off-by: Jochen Friedrich <jochen at scram.de>
> ---
>  arch/arm/mach-sa1100/simpad.c |   67 ++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 66 insertions(+), 1 deletions(-)

[skip]

> @@ -259,7 +321,10 @@ static struct platform_device simpad_mq200fb = {
>  };
>  
>  static struct platform_device *devices[] __initdata = {
> -	&simpad_mq200fb

Are you sure this is correct?

> +	&simpad_keys,
> +	&simpad_polled_keys,
> +	&simpad_mq200fb,
> +	&simpad_i2c,
>  };
>  
>  

-- 
With best wishes
Dmitry






More information about the linux-arm-kernel mailing list