Commit 3ce09334 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Paul Mundt

sh: make sure static declaration on mach-ecovec24

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f4cdd757
...@@ -140,7 +140,7 @@ static struct resource sh_eth_resources[] = { ...@@ -140,7 +140,7 @@ static struct resource sh_eth_resources[] = {
}, },
}; };
struct sh_eth_plat_data sh_eth_plat = { static struct sh_eth_plat_data sh_eth_plat = {
.phy = 0x1f, /* SMSC LAN8700 */ .phy = 0x1f, /* SMSC LAN8700 */
.edmac_endian = EDMAC_LITTLE_ENDIAN, .edmac_endian = EDMAC_LITTLE_ENDIAN,
.ether_link_active_low = 1 .ether_link_active_low = 1
...@@ -160,7 +160,7 @@ static struct platform_device sh_eth_device = { ...@@ -160,7 +160,7 @@ static struct platform_device sh_eth_device = {
}; };
/* USB0 host */ /* USB0 host */
void usb0_port_power(int port, int power) static void usb0_port_power(int port, int power)
{ {
gpio_set_value(GPIO_PTB4, power); gpio_set_value(GPIO_PTB4, power);
} }
...@@ -196,7 +196,7 @@ static struct platform_device usb0_host_device = { ...@@ -196,7 +196,7 @@ static struct platform_device usb0_host_device = {
}; };
/* USB1 host/function */ /* USB1 host/function */
void usb1_port_power(int port, int power) static void usb1_port_power(int port, int power)
{ {
gpio_set_value(GPIO_PTB5, power); gpio_set_value(GPIO_PTB5, power);
} }
...@@ -422,7 +422,7 @@ static int ts_init(void) ...@@ -422,7 +422,7 @@ static int ts_init(void)
return 0; return 0;
} }
struct tsc2007_platform_data tsc2007_info = { static struct tsc2007_platform_data tsc2007_info = {
.model = 2007, .model = 2007,
.x_plate_ohms = 180, .x_plate_ohms = 180,
.get_pendown_state = ts_get_pendown_state, .get_pendown_state = ts_get_pendown_state,
...@@ -723,7 +723,7 @@ static struct clk fsimckb_clk = { ...@@ -723,7 +723,7 @@ static struct clk fsimckb_clk = {
.rate = 0, /* unknown */ .rate = 0, /* unknown */
}; };
struct sh_fsi_platform_info fsi_info = { static struct sh_fsi_platform_info fsi_info = {
.portb_flags = SH_FSI_BRS_INV | .portb_flags = SH_FSI_BRS_INV |
SH_FSI_OUT_SLAVE_MODE | SH_FSI_OUT_SLAVE_MODE |
SH_FSI_IN_SLAVE_MODE | SH_FSI_IN_SLAVE_MODE |
...@@ -780,7 +780,7 @@ static struct platform_device irda_device = { ...@@ -780,7 +780,7 @@ static struct platform_device irda_device = {
#include <media/ak881x.h> #include <media/ak881x.h>
#include <media/sh_vou.h> #include <media/sh_vou.h>
struct ak881x_pdata ak881x_pdata = { static struct ak881x_pdata ak881x_pdata = {
.flags = AK881X_IF_MODE_SLAVE, .flags = AK881X_IF_MODE_SLAVE,
}; };
...@@ -789,7 +789,7 @@ static struct i2c_board_info ak8813 = { ...@@ -789,7 +789,7 @@ static struct i2c_board_info ak8813 = {
.platform_data = &ak881x_pdata, .platform_data = &ak881x_pdata,
}; };
struct sh_vou_pdata sh_vou_pdata = { static struct sh_vou_pdata sh_vou_pdata = {
.bus_fmt = SH_VOU_BUS_8BIT, .bus_fmt = SH_VOU_BUS_8BIT,
.flags = SH_VOU_HSYNC_LOW | SH_VOU_VSYNC_LOW, .flags = SH_VOU_HSYNC_LOW | SH_VOU_VSYNC_LOW,
.board_info = &ak8813, .board_info = &ak8813,
...@@ -853,7 +853,7 @@ static struct resource sh_mmcif_resources[] = { ...@@ -853,7 +853,7 @@ static struct resource sh_mmcif_resources[] = {
}, },
}; };
struct sh_mmcif_plat_data sh_mmcif_plat = { static struct sh_mmcif_plat_data sh_mmcif_plat = {
.set_pwr = mmcif_set_pwr, .set_pwr = mmcif_set_pwr,
.down_pwr = mmcif_down_pwr, .down_pwr = mmcif_down_pwr,
.sup_pclk = 0, /* SH7724: Max Pclk/2 */ .sup_pclk = 0, /* SH7724: Max Pclk/2 */
......
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