diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-26 04:03:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-23 01:10:41 -0400 |
commit | 2f7d63f909900c555baf36a4c6a11e9bf8e1af18 (patch) | |
tree | 1c15e1a2f04300366cdd1d6e056e1a5f18fd55fc /arch/blackfin/mach-bf537/boards/dnp5370.c | |
parent | 9be8631b8a7d11fa6d206fcf0a7a2005ed39f41b (diff) | |
download | op-kernel-dev-2f7d63f909900c555baf36a4c6a11e9bf8e1af18.zip op-kernel-dev-2f7d63f909900c555baf36a4c6a11e9bf8e1af18.tar.gz |
Blackfin: boards: clean up redundant/dead spi resources
The default for the Blackfin SPI driver is 8 bits and dma disabled,
so many of the bfin5xx_spi_chip resources are redundant. So punt
those parts.
Further, drivers should themselves be declaring 16 bit transfers,
so for those that do, and for the ones which no longer do 16 bit
transfers, drop the bfin5xx_spi_chip resources.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/dnp5370.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/dnp5370.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/boards/dnp5370.c b/arch/blackfin/mach-bf537/boards/dnp5370.c index 6b4ff46..8bc951d 100644 --- a/arch/blackfin/mach-bf537/boards/dnp5370.c +++ b/arch/blackfin/mach-bf537/boards/dnp5370.c @@ -130,7 +130,6 @@ static struct platform_device asmb_flash_device = { static struct bfin5xx_spi_chip mmc_spi_chip_info = { .enable_dma = 0, /* use no dma transfer with this chip*/ - .bits_per_word = 8, }; #endif @@ -161,7 +160,6 @@ static struct flash_platform_data bfin_spi_dataflash_data = { static struct bfin5xx_spi_chip spi_dataflash_chip_info = { .enable_dma = 0, /* use no dma transfer with this chip*/ - .bits_per_word = 8, }; #endif |