aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-23 16:56:10 -0400
committerMike Frysinger <vapier@gentoo.org>2009-10-08 00:58:11 -0400
commit5a2b0d7315c25ed69ed86fa6ef63c83e47b67c4c (patch)
treed4a90efde7ee5e01e2f6e8b1a83394e257ded08c /arch/blackfin/mach-bf548
parent7036c61fe043af6b701e10d6426ec22259bd1e3b (diff)
Blackfin: drop cs_change_per_word setting
Structs get initialized to 0 already, and we want to punt this field, so scrub it from all of our boards. Reported-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/boards/cm_bf548.c2
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index 0479d0c4df3c..283be6340c68 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -525,13 +525,11 @@ static struct flash_platform_data bfin_spi_flash_data = {
525static struct bfin5xx_spi_chip spi_flash_chip_info = { 525static struct bfin5xx_spi_chip spi_flash_chip_info = {
526 .enable_dma = 0, /* use dma transfer with this chip*/ 526 .enable_dma = 0, /* use dma transfer with this chip*/
527 .bits_per_word = 8, 527 .bits_per_word = 8,
528 .cs_change_per_word = 0,
529}; 528};
530#endif 529#endif
531 530
532#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 531#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
533static struct bfin5xx_spi_chip spi_ad7877_chip_info = { 532static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
534 .cs_change_per_word = 0,
535 .enable_dma = 0, 533 .enable_dma = 0,
536 .bits_per_word = 16, 534 .bits_per_word = 16,
537}; 535};
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index dae6d0ff0a70..ba745c6fcd4a 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -614,7 +614,6 @@ static struct flash_platform_data bfin_spi_flash_data = {
614static struct bfin5xx_spi_chip spi_flash_chip_info = { 614static struct bfin5xx_spi_chip spi_flash_chip_info = {
615 .enable_dma = 0, /* use dma transfer with this chip*/ 615 .enable_dma = 0, /* use dma transfer with this chip*/
616 .bits_per_word = 8, 616 .bits_per_word = 8,
617 .cs_change_per_word = 0,
618}; 617};
619#endif 618#endif
620 619
@@ -628,7 +627,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
628 627
629#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 628#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
630static struct bfin5xx_spi_chip spi_ad7877_chip_info = { 629static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
631 .cs_change_per_word = 0,
632 .enable_dma = 0, 630 .enable_dma = 0,
633 .bits_per_word = 16, 631 .bits_per_word = 16,
634}; 632};
@@ -659,7 +657,6 @@ static struct bfin5xx_spi_chip spidev_chip_info = {
659static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { 657static struct bfin5xx_spi_chip spi_adxl34x_chip_info = {
660 .enable_dma = 0, /* use dma transfer with this chip*/ 658 .enable_dma = 0, /* use dma transfer with this chip*/
661 .bits_per_word = 8, 659 .bits_per_word = 8,
662 .cs_change_per_word = 0,
663}; 660};
664#endif 661#endif
665 662