diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-11-15 08:33:31 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-15 08:33:31 -0500 |
commit | c7d4896621d42c84956911afd5f10a5d317c781a (patch) | |
tree | 99278472be3f440148037fab24299ff69be005ad /arch/blackfin | |
parent | f02bcec5986870b3ddae26f6be1cde0703abfd8a (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')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index c6614e52ad12..003e2ac654d8 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -451,7 +451,7 @@ static const struct ad7877_platform_data bfin_ad7877_ts_info = { | |||
451 | }; | 451 | }; |
452 | #endif | 452 | #endif |
453 | 453 | ||
454 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) \ | 454 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ |
455 | && defined(CONFIG_SND_SOC_WM8731_SPI) | 455 | && defined(CONFIG_SND_SOC_WM8731_SPI) |
456 | static struct bfin5xx_spi_chip spi_wm8731_chip_info = { | 456 | static struct bfin5xx_spi_chip spi_wm8731_chip_info = { |
457 | .enable_dma = 0, | 457 | .enable_dma = 0, |
@@ -564,7 +564,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
564 | .controller_data = &spi_ad7877_chip_info, | 564 | .controller_data = &spi_ad7877_chip_info, |
565 | }, | 565 | }, |
566 | #endif | 566 | #endif |
567 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) \ | 567 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ |
568 | && defined(CONFIG_SND_SOC_WM8731_SPI) | 568 | && defined(CONFIG_SND_SOC_WM8731_SPI) |
569 | { | 569 | { |
570 | .modalias = "wm8731", | 570 | .modalias = "wm8731", |
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) |
298 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 298 | static 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 | }, |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 2d30906626f9..bbd2a046d7c1 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -378,7 +378,7 @@ static struct bfin5xx_spi_chip spi_flash_chip_info = { | |||
378 | 378 | ||
379 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 379 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
380 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 380 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
381 | .cs_change_per_word = 1, | 381 | .cs_change_per_word = 0, |
382 | .enable_dma = 0, | 382 | .enable_dma = 0, |
383 | .bits_per_word = 16, | 383 | .bits_per_word = 16, |
384 | }; | 384 | }; |