aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-11-15 08:33:31 -0500
committerBryan Wu <bryan.wu@analog.com>2007-11-15 08:33:31 -0500
commitc7d4896621d42c84956911afd5f10a5d317c781a (patch)
tree99278472be3f440148037fab24299ff69be005ad /arch/blackfin/mach-bf537
parentf02bcec5986870b3ddae26f6be1cde0703abfd8a (diff)
Blackfin arch: Dont use cs_change_per_word, since the AD7877 driver doesnt require it anymore; fix bus numbers, fix typos
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r--arch/blackfin/mach-bf537/boards/generic_board.c2
-rw-r--r--arch/blackfin/mach-bf537/boards/pnav10.c4
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c
index 0a1bdeb0ca94..09f4bfbd2350 100644
--- a/arch/blackfin/mach-bf537/boards/generic_board.c
+++ b/arch/blackfin/mach-bf537/boards/generic_board.c
@@ -503,7 +503,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
503 .platform_data = &bfin_ad7877_ts_info, 503 .platform_data = &bfin_ad7877_ts_info,
504 .irq = IRQ_PF6, 504 .irq = IRQ_PF6,
505 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ 505 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
506 .bus_num = 1, 506 .bus_num = 0,
507 .chip_select = 1, 507 .chip_select = 1,
508 .controller_data = &spi_ad7877_chip_info, 508 .controller_data = &spi_ad7877_chip_info,
509 }, 509 },
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c
index 5826c6279fb8..fd5f4a6f08e4 100644
--- a/arch/blackfin/mach-bf537/boards/pnav10.c
+++ b/arch/blackfin/mach-bf537/boards/pnav10.c
@@ -296,7 +296,7 @@ static struct bfin5xx_spi_chip spi_mmc_chip_info = {
296 296
297#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 297#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
298static struct bfin5xx_spi_chip spi_ad7877_chip_info = { 298static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
299 .cs_change_per_word = 1, 299 .cs_change_per_word = 0,
300 .enable_dma = 0, 300 .enable_dma = 0,
301 .bits_per_word = 16, 301 .bits_per_word = 16,
302}; 302};
@@ -388,7 +388,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
388 .platform_data = &bfin_ad7877_ts_info, 388 .platform_data = &bfin_ad7877_ts_info,
389 .irq = IRQ_PF2, 389 .irq = IRQ_PF2,
390 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ 390 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
391 .bus_num = 1, 391 .bus_num = 0,
392 .chip_select = 5, 392 .chip_select = 5,
393 .controller_data = &spi_ad7877_chip_info, 393 .controller_data = &spi_ad7877_chip_info,
394}, 394},
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index a2249dc4f263..c5ff1908d276 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -503,7 +503,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
503 .platform_data = &bfin_ad7877_ts_info, 503 .platform_data = &bfin_ad7877_ts_info,
504 .irq = IRQ_PF6, 504 .irq = IRQ_PF6,
505 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ 505 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
506 .bus_num = 1, 506 .bus_num = 0,
507 .chip_select = 1, 507 .chip_select = 1,
508 .controller_data = &spi_ad7877_chip_info, 508 .controller_data = &spi_ad7877_chip_info,
509 }, 509 },