]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: SAMSUNG: use static declaration when it is not used in other files
authorKukjin Kim <kgene.kim@samsung.com>
Sat, 21 Jan 2012 03:00:13 +0000 (12:00 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 21 Jan 2012 04:06:18 +0000 (13:06 +0900)
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/irq-eint.c
arch/arm/plat-s5p/irq-gpioint.c
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/dma-ops.c

index c496b359c371d78e37f1223bc16ba28aeb92bcf0..139c050918c54378bf90511971819060da46aeb0 100644 (file)
@@ -200,7 +200,7 @@ static struct irq_chip s5p_irq_vic_eint = {
 #endif
 };
 
-int __init s5p_init_irq_eint(void)
+static int __init s5p_init_irq_eint(void)
 {
        int irq;
 
index 1fdfaa4599ced6465f647bc77578a92c9694b9bc..82c7311017a2b0e0ac30d8bf27f47bc001cc400e 100644 (file)
@@ -41,7 +41,7 @@ struct s5p_gpioint_bank {
        void                    (*handler)(unsigned int, struct irq_desc *);
 };
 
-LIST_HEAD(banks);
+static LIST_HEAD(banks);
 
 static int s5p_gpioint_set_type(struct irq_data *d, unsigned int type)
 {
index 32a6e394db24db39b7192519cee91667600c887a..eddb0ebac5853e9136586c2fa64e6f92045e61a8 100644 (file)
@@ -742,17 +742,6 @@ struct platform_device s3c_device_iis = {
 };
 #endif /* CONFIG_PLAT_S3C24XX */
 
-#ifdef CONFIG_CPU_S3C2440
-struct platform_device s3c2412_device_iis = {
-       .name           = "s3c2412-iis",
-       .id             = -1,
-       .dev            = {
-               .dma_mask               = &samsung_device_dma_mask,
-               .coherent_dma_mask      = DMA_BIT_MASK(32),
-       }
-};
-#endif /* CONFIG_CPU_S3C2440 */
-
 /* IDE CFCON */
 
 #ifdef CONFIG_SAMSUNG_DEV_IDE
@@ -1076,7 +1065,7 @@ static struct resource s5p_pmu_resource[] = {
        DEFINE_RES_IRQ(IRQ_PMU)
 };
 
-struct platform_device s5p_device_pmu = {
+static struct platform_device s5p_device_pmu = {
        .name           = "arm-pmu",
        .id             = ARM_PMU_DEVICE_CPU,
        .num_resources  = ARRAY_SIZE(s5p_pmu_resource),
index 0747c77a2fd53d0d2a66a1f1f2377b3d7e7722f6..301d9c319d0bb69b590eb63cc5e4b2319a466cb1 100644 (file)
@@ -116,7 +116,7 @@ static inline int samsung_dmadev_flush(unsigned ch)
        return dmaengine_terminate_all((struct dma_chan *)ch);
 }
 
-struct samsung_dma_ops dmadev_ops = {
+static struct samsung_dma_ops dmadev_ops = {
        .request        = samsung_dmadev_request,
        .release        = samsung_dmadev_release,
        .prepare        = samsung_dmadev_prepare,