diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-23 16:56:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-10-08 00:58:11 -0400 |
commit | 5a2b0d7315c25ed69ed86fa6ef63c83e47b67c4c (patch) | |
tree | d4a90efde7ee5e01e2f6e8b1a83394e257ded08c /arch/blackfin | |
parent | 7036c61fe043af6b701e10d6426ec22259bd1e3b (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')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ip0x.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/cm_bf548.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 3 |
5 files changed, 0 insertions, 8 deletions
diff --git a/arch/blackfin/mach-bf533/boards/ip0x.c b/arch/blackfin/mach-bf533/boards/ip0x.c index 284038d4be86..644be5e5ab6f 100644 --- a/arch/blackfin/mach-bf533/boards/ip0x.c +++ b/arch/blackfin/mach-bf533/boards/ip0x.c | |||
@@ -123,7 +123,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = { | |||
123 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ | 123 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ |
124 | .enable_dma = 0, /* if 1 - block!!! */ | 124 | .enable_dma = 0, /* if 1 - block!!! */ |
125 | .bits_per_word = 8, | 125 | .bits_per_word = 8, |
126 | .cs_change_per_word = 0, | ||
127 | }; | 126 | }; |
128 | #endif | 127 | #endif |
129 | 128 | ||
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 29e38d5af4f9..9ba290466b56 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -280,7 +280,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = { | |||
280 | 280 | ||
281 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 281 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
282 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 282 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
283 | .cs_change_per_word = 0, | ||
284 | .enable_dma = 0, | 283 | .enable_dma = 0, |
285 | .bits_per_word = 16, | 284 | .bits_per_word = 16, |
286 | }; | 285 | }; |
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index d0846176d887..8d612e7de5e2 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -215,7 +215,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
215 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 215 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
216 | .enable_dma = 0, /* use dma transfer with this chip*/ | 216 | .enable_dma = 0, /* use dma transfer with this chip*/ |
217 | .bits_per_word = 8, | 217 | .bits_per_word = 8, |
218 | .cs_change_per_word = 0, | ||
219 | }; | 218 | }; |
220 | #endif | 219 | #endif |
221 | 220 | ||
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 = { | |||
525 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 525 | static 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) |
533 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 532 | static 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 = { | |||
614 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 614 | static 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) |
630 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 629 | static 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 = { | |||
659 | static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { | 657 | static 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 | ||