1. 23 12月, 2011 11 次提交
  2. 17 11月, 2011 1 次提交
    • A
      ARM: SAMSUNG: include linux/types.h at gpio-cfg.h · dc2c8358
      Axel Lin 提交于
      Include linux/types.h to fix below build error:
      
        CC      drivers/power/max8903_charger.o
      In file included from arch/arm/plat-samsung/include/plat/gpio-fns.h:27,
                       from arch/arm/mach-s3c2410/include/mach/gpio-fns.h:1,
                       from arch/arm/mach-s3c2410/include/mach/gpio.h:27,
                       from /home/axel/repos/git/linux-2.6/arch/arm/include/asm/gpio.h:5,
                       from include/linux/gpio.h:30,
                       from drivers/power/max8903_charger.c:23:
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'samsung_gpio_pull_t'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's5p_gpio_drvstr_t'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:55: error: expected specifier-qualifier-list before 'samsung_gpio_pull_t'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:146: error: expected declaration specifiers or '...' before 'samsung_gpio_pull_t'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's3c_gpio_getpull'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:173: error: expected declaration specifiers or '...' before 'samsung_gpio_pull_t'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h: In function 's3c_gpio_cfgrange_nopull':
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: '__force' undeclared (first use in this function)
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: (Each undeclared identifier is reported only once
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: for each function it appears in.)
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: expected ')' before 'samsung_gpio_pull_t'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: expected ')' before numeric constant
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: too many arguments to function 's3c_gpio_cfgall_range'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h: At top level:
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's5p_gpio_get_drvstr'
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:208: error: expected declaration specifiers or '...' before 's5p_gpio_drvstr_t'
      make[2]: *** [drivers/power/max8903_charger.o] Error 1
      make[1]: *** [drivers/power] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      dc2c8358
  3. 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
  4. 18 10月, 2011 1 次提交
    • M
      ARM: S3C64XX: Fix SoC identification for S3C64xx devices · 0f4e54c6
      Mark Brown 提交于
      The IS_SAMSUNG_CPU() macro works by comparing the CPU ID mask exactly with
      the CPU ID. This was failing for S3C64xx SoCs as in order to support
      identification of the exact device the mask covers both variants of the
      chip, meaning that the test would always fail on S3C6410 devices. This in
      turn caused the core GPIO subsystem to fail to identify the CPU and not
      support any GPIOs, crippling the system.
      
      As a minimally invasive fix change the test for the class to be done by
      checking each implementation and oring them together.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      0f4e54c6
  5. 14 10月, 2011 2 次提交
  6. 13 10月, 2011 1 次提交
  7. 12 10月, 2011 2 次提交
  8. 06 10月, 2011 2 次提交
  9. 04 10月, 2011 10 次提交
  10. 21 9月, 2011 1 次提交
    • K
      ARM: SAMSUNG: Update the name of regarding Samsung GPIO · 782d8a3c
      Kukjin Kim 提交于
      According to gpio-samsung.c, this patch updates the name of
      regarding Samsung GPIO. Basically the samsung_xxx prefix is
      used in gpio-samsung.c instead of s3c_xxx, because unified
      name can reduce its complexity.
      
      Note: some s3c_xxx stil remains because it is used widely.
      It will be updated next time.
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      782d8a3c
  11. 16 9月, 2011 4 次提交
  12. 15 9月, 2011 2 次提交
  13. 14 9月, 2011 2 次提交