1. 09 11月, 2011 1 次提交
    • K
      ARM: EXYNOS: Fix compiler error with THIS_MODULE · 76ee4557
      Kyungmin Park 提交于
        CC      arch/arm/mach-exynos/cpuidle.o
      arch/arm/mach-exynos/cpuidle.c:36: error: 'THIS_MODULE' undeclared here (not in a function)
      arch/arm/mach-exynos/cpuidle.c: In function 'exynos4_enter_idle':
      arch/arm/mach-exynos/cpuidle.c:42: error: storage size of 'before' isn't known
      arch/arm/mach-exynos/cpuidle.c:42: error: storage size of 'after' isn't known
      arch/arm/mach-exynos/cpuidle.c:46: error: implicit declaration of function 'do_gettimeofday'
      arch/arm/mach-exynos/cpuidle.c:52: error: 'USEC_PER_SEC' undeclared (first use in this function)
      arch/arm/mach-exynos/cpuidle.c:52: error: (Each undeclared identifier is reported only once
      arch/arm/mach-exynos/cpuidle.c:52: error: for each function it appears in.)
      arch/arm/mach-exynos/cpuidle.c:42: warning: unused variable 'after'
      arch/arm/mach-exynos/cpuidle.c:42: warning: unused variable 'before'
      make[1]: *** [arch/arm/mach-exynos/cpuidle.o] Error 1
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: Fixed as per Stephen's suggestion]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      76ee4557
  2. 06 11月, 2011 1 次提交
    • K
      ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos · 83014579
      Kukjin Kim 提交于
      The arch/arm/mach-exynos4 directory (CONFIG_ARCH_EXYNOS4) has
      made for plaforms based on EXYNOS4 SoCs. But since upcoming
      Samsung's SoCs such as EXYNOS5 (ARM Cortex A15) can reuse most
      codes in current mach-exynos4, one mach-exynos directory will
      be used for them.
      
      This patch changes to CONFIG_ARCH_EXYNOS (arch/arm/mach-exynos)
      but keeps original CONFIG_ARCH_EXYNOS4 in mach-exynos/Kconfig to
      avoid changing in driver side.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      83014579
  3. 06 5月, 2011 1 次提交