]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: mach-imx/mx27_3ds: Do not annotate the chip select as internal
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 22 Jun 2011 12:25:28 +0000 (09:25 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 23 Jun 2011 07:41:22 +0000 (09:41 +0200)
On the i.MX SPI driver the chipselect pins can be of the following types:

- internal: when the chipselect pin is used as a dedicated CS pin of the CSPI controller
- GPIO: a generic GPIO can be used as a chipselect funtion

On the mx27_3ds the SPI2 chip select is a GPIO, so don't annotate 'internal' in the chip select
definition.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-mx27_3ds.c

index 39614d15c269a59e2fb6c541afefef43499fd37e..526cbe1654bbe3f1109633e41c4494bb5c35c7be 100644 (file)
@@ -304,11 +304,11 @@ static const struct spi_imx_master spi1_pdata __initconst = {
        .num_chipselect = ARRAY_SIZE(spi1_chipselect),
 };
 
-static int spi2_internal_chipselect[] = {SPI2_SS0};
+static int spi2_chipselect[] = {SPI2_SS0};
 
 static const struct spi_imx_master spi2_pdata __initconst = {
-       .chipselect     = spi2_internal_chipselect,
-       .num_chipselect = ARRAY_SIZE(spi2_internal_chipselect),
+       .chipselect     = spi2_chipselect,
+       .num_chipselect = ARRAY_SIZE(spi2_chipselect),
 };
 
 static struct imx_fb_videomode mx27_3ds_modes[] = {