diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 22:00:13 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 23:06:18 -0500 |
commit | 6d259a25b56d15ea3cb4b7f2195a188326812d88 (patch) | |
tree | dd1dfaf1815dbf0b712d52d01d913bc36b017439 /arch | |
parent | 85fd1781e2ee9c6f67b2ecdd489175337cf85da1 (diff) |
ARM: SAMSUNG: use static declaration when it is not used in other files
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-s5p/irq-eint.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-s5p/irq-gpioint.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 13 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dma-ops.c | 2 |
4 files changed, 4 insertions, 15 deletions
diff --git a/arch/arm/plat-s5p/irq-eint.c b/arch/arm/plat-s5p/irq-eint.c index c496b359c371..139c050918c5 100644 --- a/arch/arm/plat-s5p/irq-eint.c +++ b/arch/arm/plat-s5p/irq-eint.c | |||
@@ -200,7 +200,7 @@ static struct irq_chip s5p_irq_vic_eint = { | |||
200 | #endif | 200 | #endif |
201 | }; | 201 | }; |
202 | 202 | ||
203 | int __init s5p_init_irq_eint(void) | 203 | static int __init s5p_init_irq_eint(void) |
204 | { | 204 | { |
205 | int irq; | 205 | int irq; |
206 | 206 | ||
diff --git a/arch/arm/plat-s5p/irq-gpioint.c b/arch/arm/plat-s5p/irq-gpioint.c index 1fdfaa4599ce..82c7311017a2 100644 --- a/arch/arm/plat-s5p/irq-gpioint.c +++ b/arch/arm/plat-s5p/irq-gpioint.c | |||
@@ -41,7 +41,7 @@ struct s5p_gpioint_bank { | |||
41 | void (*handler)(unsigned int, struct irq_desc *); | 41 | void (*handler)(unsigned int, struct irq_desc *); |
42 | }; | 42 | }; |
43 | 43 | ||
44 | LIST_HEAD(banks); | 44 | static LIST_HEAD(banks); |
45 | 45 | ||
46 | static int s5p_gpioint_set_type(struct irq_data *d, unsigned int type) | 46 | static int s5p_gpioint_set_type(struct irq_data *d, unsigned int type) |
47 | { | 47 | { |
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 32a6e394db24..eddb0ebac585 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c | |||
@@ -742,17 +742,6 @@ struct platform_device s3c_device_iis = { | |||
742 | }; | 742 | }; |
743 | #endif /* CONFIG_PLAT_S3C24XX */ | 743 | #endif /* CONFIG_PLAT_S3C24XX */ |
744 | 744 | ||
745 | #ifdef CONFIG_CPU_S3C2440 | ||
746 | struct platform_device s3c2412_device_iis = { | ||
747 | .name = "s3c2412-iis", | ||
748 | .id = -1, | ||
749 | .dev = { | ||
750 | .dma_mask = &samsung_device_dma_mask, | ||
751 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
752 | } | ||
753 | }; | ||
754 | #endif /* CONFIG_CPU_S3C2440 */ | ||
755 | |||
756 | /* IDE CFCON */ | 745 | /* IDE CFCON */ |
757 | 746 | ||
758 | #ifdef CONFIG_SAMSUNG_DEV_IDE | 747 | #ifdef CONFIG_SAMSUNG_DEV_IDE |
@@ -1076,7 +1065,7 @@ static struct resource s5p_pmu_resource[] = { | |||
1076 | DEFINE_RES_IRQ(IRQ_PMU) | 1065 | DEFINE_RES_IRQ(IRQ_PMU) |
1077 | }; | 1066 | }; |
1078 | 1067 | ||
1079 | struct platform_device s5p_device_pmu = { | 1068 | static struct platform_device s5p_device_pmu = { |
1080 | .name = "arm-pmu", | 1069 | .name = "arm-pmu", |
1081 | .id = ARM_PMU_DEVICE_CPU, | 1070 | .id = ARM_PMU_DEVICE_CPU, |
1082 | .num_resources = ARRAY_SIZE(s5p_pmu_resource), | 1071 | .num_resources = ARRAY_SIZE(s5p_pmu_resource), |
diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c index 0747c77a2fd5..301d9c319d0b 100644 --- a/arch/arm/plat-samsung/dma-ops.c +++ b/arch/arm/plat-samsung/dma-ops.c | |||
@@ -116,7 +116,7 @@ static inline int samsung_dmadev_flush(unsigned ch) | |||
116 | return dmaengine_terminate_all((struct dma_chan *)ch); | 116 | return dmaengine_terminate_all((struct dma_chan *)ch); |
117 | } | 117 | } |
118 | 118 | ||
119 | struct samsung_dma_ops dmadev_ops = { | 119 | static struct samsung_dma_ops dmadev_ops = { |
120 | .request = samsung_dmadev_request, | 120 | .request = samsung_dmadev_request, |
121 | .release = samsung_dmadev_release, | 121 | .release = samsung_dmadev_release, |
122 | .prepare = samsung_dmadev_prepare, | 122 | .prepare = samsung_dmadev_prepare, |