diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-06-22 08:25:28 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-07-07 04:00:02 -0400 |
commit | 6d2385ab2532f3a8e2b9d195c006c07919555c31 (patch) | |
tree | c0e452e2d029cf68ac4053ea966e42d211b1e49a /arch/arm/mach-imx/mach-mx27_3ds.c | |
parent | c084473d7a51dde74008e44d995f6da569f17802 (diff) |
ARM: mach-imx/mx27_3ds: Do not annotate the chip select as internal
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>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx27_3ds.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx27_3ds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index ccb9c3f7fe20..352f75da3a4a 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c | |||
@@ -262,11 +262,11 @@ static struct mc13xxx_platform_data mc13783_pdata = { | |||
262 | }; | 262 | }; |
263 | 263 | ||
264 | /* SPI */ | 264 | /* SPI */ |
265 | static int spi2_internal_chipselect[] = {SPI2_SS0}; | 265 | static int spi2_chipselect[] = {SPI2_SS0}; |
266 | 266 | ||
267 | static const struct spi_imx_master spi2_pdata __initconst = { | 267 | static const struct spi_imx_master spi2_pdata __initconst = { |
268 | .chipselect = spi2_internal_chipselect, | 268 | .chipselect = spi2_chipselect, |
269 | .num_chipselect = ARRAY_SIZE(spi2_internal_chipselect), | 269 | .num_chipselect = ARRAY_SIZE(spi2_chipselect), |
270 | }; | 270 | }; |
271 | 271 | ||
272 | static struct spi_board_info mx27_3ds_spi_devs[] __initdata = { | 272 | static struct spi_board_info mx27_3ds_spi_devs[] __initdata = { |