1. 26 5月, 2014 1 次提交
    • J
      cpufreq: exynos: Fix the compile error · be1f7c8d
      Jonghwan Choi 提交于
      Commit 7da83a80 ("ARM: EXYNOS: Migrate Exynos specific macros from
      plat to mach") which lands in samsung tree causes build breakage
      for cpufreq-exynos like following:
      
      drivers/cpufreq/exynos-cpufreq.c: In function 'exynos_cpufreq_probe':
      drivers/cpufreq/exynos-cpufreq.c:166:2: error: implicit declaration of function 'soc_is_exynos4210'
      [-Werror=implicit-function-declaration]
      drivers/cpufreq/exynos-cpufreq.c:168:2: error: implicit declaration of function 'soc_is_exynos4212'
      [-Werror=implicit-function-declaration]
      drivers/cpufreq/exynos-cpufreq.c:168:2: error: implicit declaration of function 'soc_is_exynos4412'
      [-Werror=implicit-function-declaration]
      drivers/cpufreq/exynos-cpufreq.c:170:2: error: implicit declaration of function 'soc_is_exynos5250'
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[2]: *** [drivers/cpufreq/exynos-cpufreq.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      drivers/cpufreq/exynos4x12-cpufreq.c: In function 'exynos4x12_set_clkdiv':
      drivers/cpufreq/exynos4x12-cpufreq.c:118:2: error: implicit declaration of function 'soc_is_exynos4212'
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[2]: *** [drivers/cpufreq/exynos4x12-cpufreq.o] Error 1
      make[1]: *** [drivers/cpufreq] Error 2
      
      This fixes above error with getting SoC information via
      of_machine_is_compatible() instead of soc_is_exynosXXXX().
      Suggested-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NJonghwan Choi <jhbird.choi@samsung.com>
      [kgene.kim@samsung.com: fixed typo and modified as per Viresh's suggestion]
      [kgene.kim@samsung.com: Rafael agreed]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      be1f7c8d
  2. 19 12月, 2013 1 次提交
  3. 12 8月, 2013 1 次提交
    • B
      cpufreq: fix EXYNOS drivers selection · 45e12086
      Bartlomiej Zolnierkiewicz 提交于
      * remove superfluous pr_debug() call from exynos_cpufreq_init()
        (init errors are always logged anyway)
      * add dummy per-SoC type init functions to exynos-cpufreq.h
      * make per-SoC type cpufreq config options selectable
      * make CONFIG_ARM_EXYNOS_CPUFREQ config option invisible to user and
        automatically enable it when needed
      
      This patch fixes following issues:
      * EXYNOS per-SoC type cpufreq support (i.e. exynos4210-cpufreq.c) being
        always built if given SoC support was enabled (i.e. CPU_EXYNOS4210),
        even if common EXYNOS cpufreq support was disabled
      * inability to select cpufreq for each SoC type separately (it could
        be only enabled/disabled for all SoCs for which support was enabled)
      * EXYNOS5440 cpufreq support was always enabled when EXYNOS5440
        support was enabled and couldn't be disabled
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      45e12086
  4. 11 1月, 2013 1 次提交
  5. 24 12月, 2012 2 次提交
  6. 15 3月, 2012 2 次提交
  7. 09 1月, 2012 1 次提交