Merge branch 'next/cleanup-use-static' of git://git.kernel.org/pub/scm/linux/kernel...
authorOlof Johansson <olof@lixom.net>
Wed, 7 Mar 2012 22:45:28 +0000 (14:45 -0800)
committerOlof Johansson <olof@lixom.net>
Wed, 7 Mar 2012 22:45:28 +0000 (14:45 -0800)
* 'next/cleanup-use-static' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: SAMSUNG: use static declaration when it is not used in other files
  ARM: S5PV210: use static declaration when it is not used in other files
  ARM: S5PC100: use static declaration when it is not used in other files
  ARM: S5P64X0: use static declaration when it is not used in other files
  ARM: S3C64XX: use static declaration when it is not used in other files
  ARM: S3C24XX: use static declaration when it is not used in other files
  ARM: EXYNOS: use static declaration when it is not used in other files

1  2 
arch/arm/mach-exynos/clock-exynos4210.c
arch/arm/mach-exynos/clock-exynos4212.c
arch/arm/mach-exynos/clock.c
arch/arm/mach-exynos/mach-universal_c210.c
arch/arm/plat-samsung/devs.c

index 13312ccb2d9366f30e1295d403e0212c4f6b3e24,25ea4002f400bea4f74284cf4c7f549aa5de1632..54a92efcf5b15cd3766177e754e955456958c0d0
@@@ -32,7 -32,6 +32,7 @@@
  
  #include "common.h"
  
 +#ifdef CONFIG_PM_SLEEP
  static struct sleep_save exynos4210_clock_save[] = {
        SAVE_ITEM(S5P_CLKSRC_IMAGE),
        SAVE_ITEM(S5P_CLKSRC_LCD1),
@@@ -43,7 -42,6 +43,7 @@@
        SAVE_ITEM(S5P_CLKGATE_IP_LCD1),
        SAVE_ITEM(S5P_CLKGATE_IP_PERIR_4210),
  };
 +#endif
  
  static struct clksrc_clk *sysclks[] = {
        /* nothing here yet */
@@@ -117,7 -115,7 +117,7 @@@ static void exynos4210_clock_resume(voi
  #define exynos4210_clock_resume NULL
  #endif
  
- struct syscore_ops exynos4210_clock_syscore_ops = {
+ static struct syscore_ops exynos4210_clock_syscore_ops = {
        .suspend        = exynos4210_clock_suspend,
        .resume         = exynos4210_clock_resume,
  };
index 48af28566fa168703083ed900c7fc8a2a9701998,b133f8615c522a26fed1c8c9c7dd458735814d1b..8e07ab13ff19f8a6631f97500fa6d90a038f032e
  
  #include "common.h"
  
 +#ifdef CONFIG_PM_SLEEP
  static struct sleep_save exynos4212_clock_save[] = {
        SAVE_ITEM(S5P_CLKSRC_IMAGE),
        SAVE_ITEM(S5P_CLKDIV_IMAGE),
        SAVE_ITEM(S5P_CLKGATE_IP_IMAGE_4212),
        SAVE_ITEM(S5P_CLKGATE_IP_PERIR_4212),
  };
 +#endif
  
  static struct clk *clk_src_mpll_user_list[] = {
        [0] = &clk_fin_mpll,
@@@ -89,7 -87,7 +89,7 @@@ static void exynos4212_clock_resume(voi
  #define exynos4212_clock_resume NULL
  #endif
  
- struct syscore_ops exynos4212_clock_syscore_ops = {
+ static struct syscore_ops exynos4212_clock_syscore_ops = {
        .suspend        = exynos4212_clock_suspend,
        .resume         = exynos4212_clock_resume,
  };
index 187287aa57ab9154fbe7808bbd26ec895348ddd8,c07c6d4bcecd0ae2040ffea5bf7367ea651b0bf4..200874e82dcda99dc25d5b4313a7e16baaa67472
@@@ -30,7 -30,6 +30,7 @@@
  
  #include "common.h"
  
 +#ifdef CONFIG_PM_SLEEP
  static struct sleep_save exynos4_clock_save[] = {
        SAVE_ITEM(S5P_CLKDIV_LEFTBUS),
        SAVE_ITEM(S5P_CLKGATE_IP_LEFTBUS),
@@@ -94,7 -93,6 +94,7 @@@
        SAVE_ITEM(S5P_CLKGATE_SCLKCPU),
        SAVE_ITEM(S5P_CLKGATE_IP_CPU),
  };
 +#endif
  
  struct clk clk_sclk_hdmi27m = {
        .name           = "sclk_hdmi27m",
@@@ -1526,7 -1524,7 +1526,7 @@@ static void exynos4_clock_resume(void
  #define exynos4_clock_resume NULL
  #endif
  
- struct syscore_ops exynos4_clock_syscore_ops = {
+ static struct syscore_ops exynos4_clock_syscore_ops = {
        .suspend        = exynos4_clock_suspend,
        .resume         = exynos4_clock_resume,
  };
index 0fc65ffde8ff7526f0f9362c8e18e3e27e3c6539,29c8e188d8e7cae3e4908588c8d04ecee03c49a2..e00d8e26d52530326c192901463091f9aa94c382
@@@ -910,7 -910,7 +910,7 @@@ static struct s5p_fimc_isp_info univers
                .bus_type       = FIMC_MIPI_CSI2,
                .board_info     = &m5mols_board_info,
                .i2c_bus_num    = 0,
 -              .clk_frequency  = 21600000UL,
 +              .clk_frequency  = 24000000UL,
                .csi_data_align = 32,
        },
  };
@@@ -997,7 -997,7 +997,7 @@@ static void __init universal_map_io(voi
        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 */
        gpio_request_one(EXYNOS4_GPX3(7), GPIOF_IN, "hpd-plug");
index f10768e988d480d8e49758d900ba890a3649099a,eddb0ebac5853e9136586c2fa64e6f92045e61a8..98b864777a31e139eb8550db2818e1e785185abb
@@@ -468,10 -468,8 +468,10 @@@ void __init s3c_i2c0_set_platdata(struc
  {
        struct s3c2410_platform_i2c *npd;
  
 -      if (!pd)
 +      if (!pd) {
                pd = &default_i2c_data;
 +              pd->bus_num = 0;
 +      }
  
        npd = s3c_set_platdata(pd, sizeof(struct s3c2410_platform_i2c),
                               &s3c_device_i2c0);
@@@ -744,17 -742,6 +744,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
@@@ -1078,7 -1065,7 +1067,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),
This page took 0.033444 seconds and 5 git commands to generate.