diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 21:10:31 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 23:06:18 -0500 |
commit | 85fd1781e2ee9c6f67b2ecdd489175337cf85da1 (patch) | |
tree | 177deb3aecc64a1eac938138308565d414c90216 | |
parent | ad016770d43ff46662255b668937e82d519963b6 (diff) |
ARM: S5PV210: use static declaration when it is not used in other files
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-s5pv210/dma.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-s5pv210/dma.c b/arch/arm/mach-s5pv210/dma.c index a6113e0267f2..fc1be6eb54da 100644 --- a/arch/arm/mach-s5pv210/dma.c +++ b/arch/arm/mach-s5pv210/dma.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | static u64 dma_dmamask = DMA_BIT_MASK(32); | 36 | static u64 dma_dmamask = DMA_BIT_MASK(32); |
37 | 37 | ||
38 | u8 pdma0_peri[] = { | 38 | static u8 pdma0_peri[] = { |
39 | DMACH_UART0_RX, | 39 | DMACH_UART0_RX, |
40 | DMACH_UART0_TX, | 40 | DMACH_UART0_TX, |
41 | DMACH_UART1_RX, | 41 | DMACH_UART1_RX, |
@@ -66,12 +66,12 @@ u8 pdma0_peri[] = { | |||
66 | DMACH_SPDIF, | 66 | DMACH_SPDIF, |
67 | }; | 67 | }; |
68 | 68 | ||
69 | struct dma_pl330_platdata s5pv210_pdma0_pdata = { | 69 | static struct dma_pl330_platdata s5pv210_pdma0_pdata = { |
70 | .nr_valid_peri = ARRAY_SIZE(pdma0_peri), | 70 | .nr_valid_peri = ARRAY_SIZE(pdma0_peri), |
71 | .peri_id = pdma0_peri, | 71 | .peri_id = pdma0_peri, |
72 | }; | 72 | }; |
73 | 73 | ||
74 | struct amba_device s5pv210_device_pdma0 = { | 74 | static struct amba_device s5pv210_device_pdma0 = { |
75 | .dev = { | 75 | .dev = { |
76 | .init_name = "dma-pl330.0", | 76 | .init_name = "dma-pl330.0", |
77 | .dma_mask = &dma_dmamask, | 77 | .dma_mask = &dma_dmamask, |
@@ -87,7 +87,7 @@ struct amba_device s5pv210_device_pdma0 = { | |||
87 | .periphid = 0x00041330, | 87 | .periphid = 0x00041330, |
88 | }; | 88 | }; |
89 | 89 | ||
90 | u8 pdma1_peri[] = { | 90 | static u8 pdma1_peri[] = { |
91 | DMACH_UART0_RX, | 91 | DMACH_UART0_RX, |
92 | DMACH_UART0_TX, | 92 | DMACH_UART0_TX, |
93 | DMACH_UART1_RX, | 93 | DMACH_UART1_RX, |
@@ -122,12 +122,12 @@ u8 pdma1_peri[] = { | |||
122 | DMACH_PCM2_TX, | 122 | DMACH_PCM2_TX, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | struct dma_pl330_platdata s5pv210_pdma1_pdata = { | 125 | static struct dma_pl330_platdata s5pv210_pdma1_pdata = { |
126 | .nr_valid_peri = ARRAY_SIZE(pdma1_peri), | 126 | .nr_valid_peri = ARRAY_SIZE(pdma1_peri), |
127 | .peri_id = pdma1_peri, | 127 | .peri_id = pdma1_peri, |
128 | }; | 128 | }; |
129 | 129 | ||
130 | struct amba_device s5pv210_device_pdma1 = { | 130 | static struct amba_device s5pv210_device_pdma1 = { |
131 | .dev = { | 131 | .dev = { |
132 | .init_name = "dma-pl330.1", | 132 | .init_name = "dma-pl330.1", |
133 | .dma_mask = &dma_dmamask, | 133 | .dma_mask = &dma_dmamask, |
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index ff9152610439..2cf5ed75f390 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -844,7 +844,7 @@ static struct s5p_fimc_isp_info goni_camera_sensors[] = { | |||
844 | }, | 844 | }, |
845 | }; | 845 | }; |
846 | 846 | ||
847 | struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { | 847 | static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { |
848 | .isp_info = goni_camera_sensors, | 848 | .isp_info = goni_camera_sensors, |
849 | .num_clients = ARRAY_SIZE(goni_camera_sensors), | 849 | .num_clients = ARRAY_SIZE(goni_camera_sensors), |
850 | }; | 850 | }; |
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index dff9ea7b5bba..0933c8e1eb7b 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -140,7 +140,7 @@ static struct dm9000_plat_data smdkv210_dm9000_platdata = { | |||
140 | .dev_addr = { 0x00, 0x09, 0xc0, 0xff, 0xec, 0x48 }, | 140 | .dev_addr = { 0x00, 0x09, 0xc0, 0xff, 0xec, 0x48 }, |
141 | }; | 141 | }; |
142 | 142 | ||
143 | struct platform_device smdkv210_dm9000 = { | 143 | static struct platform_device smdkv210_dm9000 = { |
144 | .name = "dm9000", | 144 | .name = "dm9000", |
145 | .id = -1, | 145 | .id = -1, |
146 | .num_resources = ARRAY_SIZE(smdkv210_dm9000_resources), | 146 | .num_resources = ARRAY_SIZE(smdkv210_dm9000_resources), |