Commit 9503e891 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Paul Mundt

sh: mach-ecovec24: setup.c detailed correction

o remove unused define
o add device name comment
Signed-off-by: default avatarKuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 73a38b83
...@@ -128,8 +128,6 @@ static struct platform_device nor_flash_device = { ...@@ -128,8 +128,6 @@ static struct platform_device nor_flash_device = {
/* SH Eth */ /* SH Eth */
#define SH_ETH_ADDR (0xA4600000) #define SH_ETH_ADDR (0xA4600000)
#define SH_ETH_MAHR (SH_ETH_ADDR + 0x1C0)
#define SH_ETH_MALR (SH_ETH_ADDR + 0x1C8)
static struct resource sh_eth_resources[] = { static struct resource sh_eth_resources[] = {
[0] = { [0] = {
.start = SH_ETH_ADDR, .start = SH_ETH_ADDR,
...@@ -509,6 +507,7 @@ static struct platform_device sdhi1_device = { ...@@ -509,6 +507,7 @@ static struct platform_device sdhi1_device = {
#else #else
/* MMC SPI */
static int mmc_spi_get_ro(struct device *dev) static int mmc_spi_get_ro(struct device *dev)
{ {
return gpio_get_value(GPIO_PTY6); return gpio_get_value(GPIO_PTY6);
...@@ -542,6 +541,7 @@ static struct spi_board_info spi_bus[] = { ...@@ -542,6 +541,7 @@ static struct spi_board_info spi_bus[] = {
}, },
}; };
/* MSIOF0 */
static struct sh_msiof_spi_info msiof0_data = { static struct sh_msiof_spi_info msiof0_data = {
.num_chipselect = 1, .num_chipselect = 1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment