diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-06-01 20:27:31 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2010-06-02 04:13:47 -0400 |
| commit | 3ce0933437763f692c669d07d1b7b016b9e2fa41 (patch) | |
| tree | 0f242ebb0876b57602c0847f41a37ad0970cb1a6 /arch/sh | |
| parent | f4cdd757bef262a16188fa89141cc243a9cfc81b (diff) | |
sh: make sure static declaration on mach-ecovec24
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
| -rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 778eb7cb9873..be1d114d3a43 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
| @@ -140,7 +140,7 @@ static struct resource sh_eth_resources[] = { | |||
| 140 | }, | 140 | }, |
| 141 | }; | 141 | }; |
| 142 | 142 | ||
| 143 | struct sh_eth_plat_data sh_eth_plat = { | 143 | static struct sh_eth_plat_data sh_eth_plat = { |
| 144 | .phy = 0x1f, /* SMSC LAN8700 */ | 144 | .phy = 0x1f, /* SMSC LAN8700 */ |
| 145 | .edmac_endian = EDMAC_LITTLE_ENDIAN, | 145 | .edmac_endian = EDMAC_LITTLE_ENDIAN, |
| 146 | .ether_link_active_low = 1 | 146 | .ether_link_active_low = 1 |
| @@ -160,7 +160,7 @@ static struct platform_device sh_eth_device = { | |||
| 160 | }; | 160 | }; |
| 161 | 161 | ||
| 162 | /* USB0 host */ | 162 | /* USB0 host */ |
| 163 | void usb0_port_power(int port, int power) | 163 | static void usb0_port_power(int port, int power) |
| 164 | { | 164 | { |
| 165 | gpio_set_value(GPIO_PTB4, power); | 165 | gpio_set_value(GPIO_PTB4, power); |
| 166 | } | 166 | } |
| @@ -196,7 +196,7 @@ static struct platform_device usb0_host_device = { | |||
| 196 | }; | 196 | }; |
| 197 | 197 | ||
| 198 | /* USB1 host/function */ | 198 | /* USB1 host/function */ |
| 199 | void usb1_port_power(int port, int power) | 199 | static void usb1_port_power(int port, int power) |
| 200 | { | 200 | { |
| 201 | gpio_set_value(GPIO_PTB5, power); | 201 | gpio_set_value(GPIO_PTB5, power); |
| 202 | } | 202 | } |
| @@ -422,7 +422,7 @@ static int ts_init(void) | |||
| 422 | return 0; | 422 | return 0; |
| 423 | } | 423 | } |
| 424 | 424 | ||
| 425 | struct tsc2007_platform_data tsc2007_info = { | 425 | static struct tsc2007_platform_data tsc2007_info = { |
| 426 | .model = 2007, | 426 | .model = 2007, |
| 427 | .x_plate_ohms = 180, | 427 | .x_plate_ohms = 180, |
| 428 | .get_pendown_state = ts_get_pendown_state, | 428 | .get_pendown_state = ts_get_pendown_state, |
| @@ -723,7 +723,7 @@ static struct clk fsimckb_clk = { | |||
| 723 | .rate = 0, /* unknown */ | 723 | .rate = 0, /* unknown */ |
| 724 | }; | 724 | }; |
| 725 | 725 | ||
| 726 | struct sh_fsi_platform_info fsi_info = { | 726 | static struct sh_fsi_platform_info fsi_info = { |
| 727 | .portb_flags = SH_FSI_BRS_INV | | 727 | .portb_flags = SH_FSI_BRS_INV | |
| 728 | SH_FSI_OUT_SLAVE_MODE | | 728 | SH_FSI_OUT_SLAVE_MODE | |
| 729 | SH_FSI_IN_SLAVE_MODE | | 729 | SH_FSI_IN_SLAVE_MODE | |
| @@ -780,7 +780,7 @@ static struct platform_device irda_device = { | |||
| 780 | #include <media/ak881x.h> | 780 | #include <media/ak881x.h> |
| 781 | #include <media/sh_vou.h> | 781 | #include <media/sh_vou.h> |
| 782 | 782 | ||
| 783 | struct ak881x_pdata ak881x_pdata = { | 783 | static struct ak881x_pdata ak881x_pdata = { |
| 784 | .flags = AK881X_IF_MODE_SLAVE, | 784 | .flags = AK881X_IF_MODE_SLAVE, |
| 785 | }; | 785 | }; |
| 786 | 786 | ||
| @@ -789,7 +789,7 @@ static struct i2c_board_info ak8813 = { | |||
| 789 | .platform_data = &ak881x_pdata, | 789 | .platform_data = &ak881x_pdata, |
| 790 | }; | 790 | }; |
| 791 | 791 | ||
| 792 | struct sh_vou_pdata sh_vou_pdata = { | 792 | static struct sh_vou_pdata sh_vou_pdata = { |
| 793 | .bus_fmt = SH_VOU_BUS_8BIT, | 793 | .bus_fmt = SH_VOU_BUS_8BIT, |
| 794 | .flags = SH_VOU_HSYNC_LOW | SH_VOU_VSYNC_LOW, | 794 | .flags = SH_VOU_HSYNC_LOW | SH_VOU_VSYNC_LOW, |
| 795 | .board_info = &ak8813, | 795 | .board_info = &ak8813, |
| @@ -853,7 +853,7 @@ static struct resource sh_mmcif_resources[] = { | |||
| 853 | }, | 853 | }, |
| 854 | }; | 854 | }; |
| 855 | 855 | ||
| 856 | struct sh_mmcif_plat_data sh_mmcif_plat = { | 856 | static struct sh_mmcif_plat_data sh_mmcif_plat = { |
| 857 | .set_pwr = mmcif_set_pwr, | 857 | .set_pwr = mmcif_set_pwr, |
| 858 | .down_pwr = mmcif_down_pwr, | 858 | .down_pwr = mmcif_down_pwr, |
| 859 | .sup_pclk = 0, /* SH7724: Max Pclk/2 */ | 859 | .sup_pclk = 0, /* SH7724: Max Pclk/2 */ |
