Commit e745e06f authored by Kukjin Kim's avatar Kukjin Kim

ARM: EXYNOS: use static declaration when it is not used in other files

Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent dcd6c922
...@@ -115,7 +115,7 @@ static void exynos4210_clock_resume(void) ...@@ -115,7 +115,7 @@ static void exynos4210_clock_resume(void)
#define exynos4210_clock_resume NULL #define exynos4210_clock_resume NULL
#endif #endif
struct syscore_ops exynos4210_clock_syscore_ops = { static struct syscore_ops exynos4210_clock_syscore_ops = {
.suspend = exynos4210_clock_suspend, .suspend = exynos4210_clock_suspend,
.resume = exynos4210_clock_resume, .resume = exynos4210_clock_resume,
}; };
......
...@@ -87,7 +87,7 @@ static void exynos4212_clock_resume(void) ...@@ -87,7 +87,7 @@ static void exynos4212_clock_resume(void)
#define exynos4212_clock_resume NULL #define exynos4212_clock_resume NULL
#endif #endif
struct syscore_ops exynos4212_clock_syscore_ops = { static struct syscore_ops exynos4212_clock_syscore_ops = {
.suspend = exynos4212_clock_suspend, .suspend = exynos4212_clock_suspend,
.resume = exynos4212_clock_resume, .resume = exynos4212_clock_resume,
}; };
......
...@@ -1524,7 +1524,7 @@ static void exynos4_clock_resume(void) ...@@ -1524,7 +1524,7 @@ static void exynos4_clock_resume(void)
#define exynos4_clock_resume NULL #define exynos4_clock_resume NULL
#endif #endif
struct syscore_ops exynos4_clock_syscore_ops = { static struct syscore_ops exynos4_clock_syscore_ops = {
.suspend = exynos4_clock_suspend, .suspend = exynos4_clock_suspend,
.resume = exynos4_clock_resume, .resume = exynos4_clock_resume,
}; };
......
...@@ -673,7 +673,7 @@ static void exynos4_irq_eint0_15(unsigned int irq, struct irq_desc *desc) ...@@ -673,7 +673,7 @@ static void exynos4_irq_eint0_15(unsigned int irq, struct irq_desc *desc)
chained_irq_exit(chip, desc); chained_irq_exit(chip, desc);
} }
int __init exynos4_init_irq_eint(void) static int __init exynos4_init_irq_eint(void)
{ {
int irq; int irq;
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
static u64 dma_dmamask = DMA_BIT_MASK(32); static u64 dma_dmamask = DMA_BIT_MASK(32);
u8 pdma0_peri[] = { static u8 pdma0_peri[] = {
DMACH_PCM0_RX, DMACH_PCM0_RX,
DMACH_PCM0_TX, DMACH_PCM0_TX,
DMACH_PCM2_RX, DMACH_PCM2_RX,
...@@ -69,12 +69,12 @@ u8 pdma0_peri[] = { ...@@ -69,12 +69,12 @@ u8 pdma0_peri[] = {
DMACH_AC97_PCMOUT, DMACH_AC97_PCMOUT,
}; };
struct dma_pl330_platdata exynos4_pdma0_pdata = { static struct dma_pl330_platdata exynos4_pdma0_pdata = {
.nr_valid_peri = ARRAY_SIZE(pdma0_peri), .nr_valid_peri = ARRAY_SIZE(pdma0_peri),
.peri_id = pdma0_peri, .peri_id = pdma0_peri,
}; };
struct amba_device exynos4_device_pdma0 = { static struct amba_device exynos4_device_pdma0 = {
.dev = { .dev = {
.init_name = "dma-pl330.0", .init_name = "dma-pl330.0",
.dma_mask = &dma_dmamask, .dma_mask = &dma_dmamask,
...@@ -90,7 +90,7 @@ struct amba_device exynos4_device_pdma0 = { ...@@ -90,7 +90,7 @@ struct amba_device exynos4_device_pdma0 = {
.periphid = 0x00041330, .periphid = 0x00041330,
}; };
u8 pdma1_peri[] = { static u8 pdma1_peri[] = {
DMACH_PCM0_RX, DMACH_PCM0_RX,
DMACH_PCM0_TX, DMACH_PCM0_TX,
DMACH_PCM1_RX, DMACH_PCM1_RX,
...@@ -118,12 +118,12 @@ u8 pdma1_peri[] = { ...@@ -118,12 +118,12 @@ u8 pdma1_peri[] = {
DMACH_SLIMBUS5_TX, DMACH_SLIMBUS5_TX,
}; };
struct dma_pl330_platdata exynos4_pdma1_pdata = { static struct dma_pl330_platdata exynos4_pdma1_pdata = {
.nr_valid_peri = ARRAY_SIZE(pdma1_peri), .nr_valid_peri = ARRAY_SIZE(pdma1_peri),
.peri_id = pdma1_peri, .peri_id = pdma1_peri,
}; };
struct amba_device exynos4_device_pdma1 = { static struct amba_device exynos4_device_pdma1 = {
.dev = { .dev = {
.init_name = "dma-pl330.1", .init_name = "dma-pl330.1",
.dma_mask = &dma_dmamask, .dma_mask = &dma_dmamask,
......
...@@ -412,7 +412,7 @@ static struct max8997_regulator_data __initdata origen_max8997_regulators[] = { ...@@ -412,7 +412,7 @@ static struct max8997_regulator_data __initdata origen_max8997_regulators[] = {
{ MAX8997_BUCK7, &max8997_buck7_data }, { MAX8997_BUCK7, &max8997_buck7_data },
}; };
struct max8997_platform_data __initdata origen_max8997_pdata = { static struct max8997_platform_data __initdata origen_max8997_pdata = {
.num_regulators = ARRAY_SIZE(origen_max8997_regulators), .num_regulators = ARRAY_SIZE(origen_max8997_regulators),
.regulators = origen_max8997_regulators, .regulators = origen_max8997_regulators,
......
...@@ -997,7 +997,7 @@ static void __init universal_map_io(void) ...@@ -997,7 +997,7 @@ static void __init universal_map_io(void)
s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs)); s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs));
} }
void s5p_tv_setup(void) static void s5p_tv_setup(void)
{ {
/* direct HPD to HDMI chip */ /* direct HPD to HDMI chip */
gpio_request_one(EXYNOS4_GPX3(7), GPIOF_IN, "hpd-plug"); gpio_request_one(EXYNOS4_GPX3(7), GPIOF_IN, "hpd-plug");
......
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