diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-12-24 00:27:47 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-12-24 00:59:51 -0500 |
commit | 9503e891d28e91961026c778ec251dfe886626fb (patch) | |
tree | 12ae43f1a4eb7d1c18eab3a093774172cdecaac2 | |
parent | 73a38b839b9295216e8d44dabf54de88270e77b8 (diff) |
sh: mach-ecovec24: setup.c detailed correction
o remove unused define
o add device name comment
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 194aaca22d47..6a8861b39f05 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -128,8 +128,6 @@ static struct platform_device nor_flash_device = { | |||
128 | 128 | ||
129 | /* SH Eth */ | 129 | /* SH Eth */ |
130 | #define SH_ETH_ADDR (0xA4600000) | 130 | #define SH_ETH_ADDR (0xA4600000) |
131 | #define SH_ETH_MAHR (SH_ETH_ADDR + 0x1C0) | ||
132 | #define SH_ETH_MALR (SH_ETH_ADDR + 0x1C8) | ||
133 | static struct resource sh_eth_resources[] = { | 131 | static struct resource sh_eth_resources[] = { |
134 | [0] = { | 132 | [0] = { |
135 | .start = SH_ETH_ADDR, | 133 | .start = SH_ETH_ADDR, |
@@ -509,6 +507,7 @@ static struct platform_device sdhi1_device = { | |||
509 | 507 | ||
510 | #else | 508 | #else |
511 | 509 | ||
510 | /* MMC SPI */ | ||
512 | static int mmc_spi_get_ro(struct device *dev) | 511 | static int mmc_spi_get_ro(struct device *dev) |
513 | { | 512 | { |
514 | return gpio_get_value(GPIO_PTY6); | 513 | return gpio_get_value(GPIO_PTY6); |
@@ -542,6 +541,7 @@ static struct spi_board_info spi_bus[] = { | |||
542 | }, | 541 | }, |
543 | }; | 542 | }; |
544 | 543 | ||
544 | /* MSIOF0 */ | ||
545 | static struct sh_msiof_spi_info msiof0_data = { | 545 | static struct sh_msiof_spi_info msiof0_data = { |
546 | .num_chipselect = 1, | 546 | .num_chipselect = 1, |
547 | }; | 547 | }; |