Skip to content

Commit

Permalink
ARM: mach-imx/mx27_3ds: Do not annotate the chip select as internal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Jul 7, 2011
1 parent c084473 commit 6d2385a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/mach-imx/mach-mx27_3ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,11 @@ static struct mc13xxx_platform_data mc13783_pdata = {
};

/* SPI */
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 spi_board_info mx27_3ds_spi_devs[] __initdata = {
Expand Down

0 comments on commit 6d2385a

Please sign in to comment.