aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-01-20 20:47:14 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-01-20 21:11:39 -0500
commite745e06fbdf697ed7d611ea596e77278eeecd417 (patch)
tree4bd3986b43d4347c00a888047d3f15298883afdb
parentdcd6c92267155e70a94b3927bce681ce74b80d1f (diff)
ARM: EXYNOS: 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-exynos/clock-exynos4210.c2
-rw-r--r--arch/arm/mach-exynos/clock-exynos4212.c2
-rw-r--r--arch/arm/mach-exynos/clock.c2
-rw-r--r--arch/arm/mach-exynos/common.c2
-rw-r--r--arch/arm/mach-exynos/dma.c12
-rw-r--r--arch/arm/mach-exynos/mach-origen.c2
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c2
7 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/mach-exynos/clock-exynos4210.c b/arch/arm/mach-exynos/clock-exynos4210.c
index a5823a7f249e..25ea4002f400 100644
--- a/arch/arm/mach-exynos/clock-exynos4210.c
+++ b/arch/arm/mach-exynos/clock-exynos4210.c
@@ -115,7 +115,7 @@ static void exynos4210_clock_resume(void)
115#define exynos4210_clock_resume NULL 115#define exynos4210_clock_resume NULL
116#endif 116#endif
117 117
118struct syscore_ops exynos4210_clock_syscore_ops = { 118static struct syscore_ops exynos4210_clock_syscore_ops = {
119 .suspend = exynos4210_clock_suspend, 119 .suspend = exynos4210_clock_suspend,
120 .resume = exynos4210_clock_resume, 120 .resume = exynos4210_clock_resume,
121}; 121};
diff --git a/arch/arm/mach-exynos/clock-exynos4212.c b/arch/arm/mach-exynos/clock-exynos4212.c
index 26a668b0d101..b133f8615c52 100644
--- a/arch/arm/mach-exynos/clock-exynos4212.c
+++ b/arch/arm/mach-exynos/clock-exynos4212.c
@@ -87,7 +87,7 @@ static void exynos4212_clock_resume(void)
87#define exynos4212_clock_resume NULL 87#define exynos4212_clock_resume NULL
88#endif 88#endif
89 89
90struct syscore_ops exynos4212_clock_syscore_ops = { 90static struct syscore_ops exynos4212_clock_syscore_ops = {
91 .suspend = exynos4212_clock_suspend, 91 .suspend = exynos4212_clock_suspend,
92 .resume = exynos4212_clock_resume, 92 .resume = exynos4212_clock_resume,
93}; 93};
diff --git a/arch/arm/mach-exynos/clock.c b/arch/arm/mach-exynos/clock.c
index 5a8c42e90005..c07c6d4bcecd 100644
--- a/arch/arm/mach-exynos/clock.c
+++ b/arch/arm/mach-exynos/clock.c
@@ -1524,7 +1524,7 @@ static void exynos4_clock_resume(void)
1524#define exynos4_clock_resume NULL 1524#define exynos4_clock_resume NULL
1525#endif 1525#endif
1526 1526
1527struct syscore_ops exynos4_clock_syscore_ops = { 1527static struct syscore_ops exynos4_clock_syscore_ops = {
1528 .suspend = exynos4_clock_suspend, 1528 .suspend = exynos4_clock_suspend,
1529 .resume = exynos4_clock_resume, 1529 .resume = exynos4_clock_resume,
1530}; 1530};
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index c59e18871006..b7f4b595a40a 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -673,7 +673,7 @@ static void exynos4_irq_eint0_15(unsigned int irq, struct irq_desc *desc)
673 chained_irq_exit(chip, desc); 673 chained_irq_exit(chip, desc);
674} 674}
675 675
676int __init exynos4_init_irq_eint(void) 676static int __init exynos4_init_irq_eint(void)
677{ 677{
678 int irq; 678 int irq;
679 679
diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c
index b10fcd270f07..8dec3db03eae 100644
--- a/arch/arm/mach-exynos/dma.c
+++ b/arch/arm/mach-exynos/dma.c
@@ -36,7 +36,7 @@
36 36
37static u64 dma_dmamask = DMA_BIT_MASK(32); 37static u64 dma_dmamask = DMA_BIT_MASK(32);
38 38
39u8 pdma0_peri[] = { 39static u8 pdma0_peri[] = {
40 DMACH_PCM0_RX, 40 DMACH_PCM0_RX,
41 DMACH_PCM0_TX, 41 DMACH_PCM0_TX,
42 DMACH_PCM2_RX, 42 DMACH_PCM2_RX,
@@ -69,12 +69,12 @@ u8 pdma0_peri[] = {
69 DMACH_AC97_PCMOUT, 69 DMACH_AC97_PCMOUT,
70}; 70};
71 71
72struct dma_pl330_platdata exynos4_pdma0_pdata = { 72static struct dma_pl330_platdata exynos4_pdma0_pdata = {
73 .nr_valid_peri = ARRAY_SIZE(pdma0_peri), 73 .nr_valid_peri = ARRAY_SIZE(pdma0_peri),
74 .peri_id = pdma0_peri, 74 .peri_id = pdma0_peri,
75}; 75};
76 76
77struct amba_device exynos4_device_pdma0 = { 77static struct amba_device exynos4_device_pdma0 = {
78 .dev = { 78 .dev = {
79 .init_name = "dma-pl330.0", 79 .init_name = "dma-pl330.0",
80 .dma_mask = &dma_dmamask, 80 .dma_mask = &dma_dmamask,
@@ -90,7 +90,7 @@ struct amba_device exynos4_device_pdma0 = {
90 .periphid = 0x00041330, 90 .periphid = 0x00041330,
91}; 91};
92 92
93u8 pdma1_peri[] = { 93static u8 pdma1_peri[] = {
94 DMACH_PCM0_RX, 94 DMACH_PCM0_RX,
95 DMACH_PCM0_TX, 95 DMACH_PCM0_TX,
96 DMACH_PCM1_RX, 96 DMACH_PCM1_RX,
@@ -118,12 +118,12 @@ u8 pdma1_peri[] = {
118 DMACH_SLIMBUS5_TX, 118 DMACH_SLIMBUS5_TX,
119}; 119};
120 120
121struct dma_pl330_platdata exynos4_pdma1_pdata = { 121static struct dma_pl330_platdata exynos4_pdma1_pdata = {
122 .nr_valid_peri = ARRAY_SIZE(pdma1_peri), 122 .nr_valid_peri = ARRAY_SIZE(pdma1_peri),
123 .peri_id = pdma1_peri, 123 .peri_id = pdma1_peri,
124}; 124};
125 125
126struct amba_device exynos4_device_pdma1 = { 126static struct amba_device exynos4_device_pdma1 = {
127 .dev = { 127 .dev = {
128 .init_name = "dma-pl330.1", 128 .init_name = "dma-pl330.1",
129 .dma_mask = &dma_dmamask, 129 .dma_mask = &dma_dmamask,
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c
index 0679b8ad2d1e..3ec3ccf9f35c 100644
--- a/arch/arm/mach-exynos/mach-origen.c
+++ b/arch/arm/mach-exynos/mach-origen.c
@@ -412,7 +412,7 @@ static struct max8997_regulator_data __initdata origen_max8997_regulators[] = {
412 { MAX8997_BUCK7, &max8997_buck7_data }, 412 { MAX8997_BUCK7, &max8997_buck7_data },
413}; 413};
414 414
415struct max8997_platform_data __initdata origen_max8997_pdata = { 415static struct max8997_platform_data __initdata origen_max8997_pdata = {
416 .num_regulators = ARRAY_SIZE(origen_max8997_regulators), 416 .num_regulators = ARRAY_SIZE(origen_max8997_regulators),
417 .regulators = origen_max8997_regulators, 417 .regulators = origen_max8997_regulators,
418 418
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index 37ac93e8d6d9..29c8e188d8e7 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -997,7 +997,7 @@ static void __init universal_map_io(void)
997 s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs)); 997 s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs));
998} 998}
999 999
1000void s5p_tv_setup(void) 1000static void s5p_tv_setup(void)
1001{ 1001{
1002 /* direct HPD to HDMI chip */ 1002 /* direct HPD to HDMI chip */
1003 gpio_request_one(EXYNOS4_GPX3(7), GPIOF_IN, "hpd-plug"); 1003 gpio_request_one(EXYNOS4_GPX3(7), GPIOF_IN, "hpd-plug");