Skip to content

Commit

Permalink
sh: mach-ecovec24: setup.c detailed correction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Dec 24, 2009
1 parent 73a38b8 commit 9503e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sh/boards/mach-ecovec24/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ static struct platform_device nor_flash_device = {

/* SH Eth */
#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[] = {
[0] = {
.start = SH_ETH_ADDR,
Expand Down Expand Up @@ -509,6 +507,7 @@ static struct platform_device sdhi1_device = {

#else

/* MMC SPI */
static int mmc_spi_get_ro(struct device *dev)
{
return gpio_get_value(GPIO_PTY6);
Expand Down Expand Up @@ -542,6 +541,7 @@ static struct spi_board_info spi_bus[] = {
},
};

/* MSIOF0 */
static struct sh_msiof_spi_info msiof0_data = {
.num_chipselect = 1,
};
Expand Down

0 comments on commit 9503e89

Please sign in to comment.