summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-06-02 00:25:03 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-06-02 17:15:40 +0900
commitbb04e197a9dd3d5c4a02b9f7fc7ef74e8ebf3700 (patch)
tree29f10f5ada47f9d3ab8f2a79440e891301e29406 /arch/arm/mach-shmobile
parentd3d03e486594dac021caad5befce7d87af4ca00a (diff)
ARM: mach-shmobile: make sure static declaration on ap4evb
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 2963a11c92b..5d24d4ec93a 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -283,7 +283,7 @@ static struct resource sh_mmcif_resources[] = {
},
};
-struct sh_mmcif_plat_data sh_mmcif_plat = {
+static struct sh_mmcif_plat_data sh_mmcif_plat = {
.sup_pclk = 0,
.ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
.caps = MMC_CAP_4_BIT_DATA |
@@ -363,7 +363,7 @@ static struct platform_device sdhi1_device = {
};
/* USB1 */
-void usb1_host_port_power(int port, int power)
+static void usb1_host_port_power(int port, int power)
{
if (!power) /* only power-on supported for now */
return;
@@ -498,7 +498,7 @@ static struct clk fsiackcr_clk = {
.rate = 0, /* unknown */
};
-struct sh_fsi_platform_info fsi_info = {
+static struct sh_fsi_platform_info fsi_info = {
.porta_flags = SH_FSI_BRS_INV |
SH_FSI_OUT_SLAVE_MODE |
SH_FSI_IN_SLAVE_MODE |
@@ -544,7 +544,7 @@ static struct platform_device *ap4evb_devices[] __initdata = {
/* TouchScreen (Needs SW3 set to OFF) */
#define IRQ28 evt2irq(0x3380) /* IRQ28A */
-struct tsc2007_platform_data tsc2007_info = {
+static struct tsc2007_platform_data tsc2007_info = {
.model = 2007,
.x_plate_ohms = 180,
};