1. 22 12月, 2011 2 次提交
    • K
      driver-core: remove sysdev.h usage. · edbaa603
      Kay Sievers 提交于
      The sysdev.h file should not be needed by any in-kernel code, so remove
      the .h file from these random files that seem to still want to include
      it.
      
      The sysdev code will be going away soon, so this include needs to be
      removed no matter what.
      
      Cc: Jiandong Zheng <jdzheng@broadcom.com>
      Cc: Scott Branden <sbranden@broadcom.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: "Venkatesh Pallipadi
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Matthew Garrett <mjg@redhat.com>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      edbaa603
    • K
      arm: convert sysdev_class to a regular subsystem · 4a858cfc
      Kay Sievers 提交于
      After all sysdev classes are ported to regular driver core entities, the
      sysdev implementation will be entirely removed from the kernel.
      
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Cc: Boojin Kim <boojin.kim@samsung.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4a858cfc
  2. 22 10月, 2011 1 次提交
  3. 06 10月, 2011 1 次提交
  4. 21 9月, 2011 3 次提交
  5. 16 9月, 2011 2 次提交
  6. 22 8月, 2011 1 次提交
  7. 27 7月, 2011 1 次提交
  8. 20 7月, 2011 1 次提交
  9. 08 7月, 2011 1 次提交
  10. 05 7月, 2011 1 次提交
  11. 25 4月, 2011 1 次提交
  12. 14 4月, 2011 1 次提交
  13. 31 3月, 2011 1 次提交
  14. 29 3月, 2011 2 次提交
  15. 22 3月, 2011 1 次提交
  16. 21 3月, 2011 2 次提交
  17. 11 3月, 2011 1 次提交
  18. 08 3月, 2011 1 次提交
  19. 04 3月, 2011 2 次提交
    • L
      ARM: S3C2440: Fix usage gpio bank j pin definitions on GTA02 · 6a53048d
      Lars-Peter Clausen 提交于
      The gta02 header file still uses the old S3C2410_GPJx defines instead of the
      S3C2410_GPJ(x) macro. Since the S3C2410_GPJx defines have already been removed
      this causes the following build failure:
      
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_set_spk':
      	sound/soc/samsung/neo1973_wm8753.c:259: error: 'S3C2440_GPJ2' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c:259: error: (Each undeclared identifier is reported only once
      	sound/soc/samsung/neo1973_wm8753.c:259: error: for each function it appears in.)
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_get_spk':
      	sound/soc/samsung/neo1973_wm8753.c:267: error: 'S3C2440_GPJ2' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_event':
      	sound/soc/samsung/neo1973_wm8753.c:276: error: 'S3C2440_GPJ1' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c: At top level:
      	sound/soc/samsung/neo1973_wm8753.c:439: error: 'S3C2440_GPJ2' undeclared here (not in a function)
      	sound/soc/samsung/neo1973_wm8753.c:440: error: 'S3C2440_GPJ1' undeclared here (not in a function)
      
      This patches fixes the issue by doing a s,S3C2410_GPJ([\d]+),S3C2410_GPJ(\1),g
      on the file.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      6a53048d
    • L
      ARM: S3C2440: Select missing S3C_DEV_USB_HOST on GTA02 · 8c00ae98
      Lars-Peter Clausen 提交于
      The gta02 mach file references the ohci device.
      So we need to select S3C_DEV_USB_HOST to have the device available.
      
      This fixes the following linker errors:
      	arch/arm/mach-s3c2440/built-in.o: In function 'gta02_machine_init':
      	mach-gta02.c:(.init.text+0x370): undefined reference to 's3c_ohci_set_platdata'
      	arch/arm/mach-s3c2440/built-in.o:(.init.data+0xac): undefined reference to 's3c_device_ohci'
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      8c00ae98
  20. 28 2月, 2011 6 次提交
  21. 03 1月, 2011 1 次提交
  22. 08 12月, 2010 1 次提交
    • V
      ARM: S3C24XX: Fix mess with gpio {set,get}_pull callbacks · 812c4e40
      Vasily Khoruzhick 提交于
      Currently the {set,get}_pull callbacks of the s3c24xx_gpiocfg_default structure
      are initalized via s3c_gpio_{get,set}pull_1up. This results in a linker
      error when only CONFIG_CPU_S3C2442 is selected:
      
      arch/arm/plat-s3c24xx/built-in.o:(.data+0x13f4): undefined reference to
      `s3c_gpio_getpull_1up'
      arch/arm/plat-s3c24xx/built-in.o:(.data+0x13f8): undefined reference to
      `s3c_gpio_setpull_1up'
      
      The s3c2442 has pulldowns instead of pullups compared to the s3c2440.
      The method of controlling them is the same though.
      So this patch modifies the existing s3c_gpio_{get,set}pull_1up helper functions
      to take an additional parameter deciding whether the pin has a pullup or pulldown.
      The s3c_gpio_{get,set}pull_1{down,up} functions then wrap that functions passing
      either S3C_GPIO_PULL_UP or S3C_GPIO_PULL_DOWN.
      
      Furthermore this patch sets up the s3c24xx_gpiocfg_default.{get,set}_pull fields
      in the s3c244{0,2}_map_io function to the new pulldown helper functions.
      
      Based on patch from "Lars-Peter Clausen" <lars@metafoo.de>
      Signed-off-by: NVasily Khoruzhick <anarsoul@gmail.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      812c4e40
  23. 04 12月, 2010 1 次提交
    • B
      ARM: mini2440: Fix Kconfig to allow kernel to build · 2e18edf7
      Ben Dooks 提交于
      The MACH_MINI2440 entry requires the backlight LED driver, but this
      subsystem has not been enabled and the select of LEDS_TRIGGER_BACKLIGHT
      alone is insufficient to enable the necessary bits of the LED driver.
      
      Add NEW_LEDS, LEDS_CLASS and LEDS_TRIGGER to the select to allow the
      kernel to link.
      
      This fixes the following error:
      
      drivers/built-in.o: In function `led_trigger_set':
      /home/ben/linux.git/drivers/leds/led-triggers.c:116: undefined reference to `led_brightness_set'
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      2e18edf7
  24. 23 11月, 2010 1 次提交
  25. 30 10月, 2010 1 次提交
    • A
      ARM: S3C2440: various fixes in Kconfig file · e33ffd4d
      Abdoulaye Walsimou Gaye 提交于
      * kconfig symbols defined in arch/arm/mach-s3c2440/Kconfig are only available
        when ARCH_S3C2410 is selected, so no need to make some of them depend
        on ARCH_S3C2410.
      * fix CPU_S3C24405B typo in "config S3C2440_DMA".
      * mini2440: remove unconditionally select of SND_S3C24XX_SOC_S3C24XX_UDA134X.
      Those fixes avoid the following warnings at make time:
      
      scripts/kconfig/qconf arch/arm/Kconfig
      warning: (MACH_MINI2440 && ARCH_S3C2410) selects SND_S3C24XX_SOC_S3C24XX_UDA134X
      which has unmet direct dependencies (SND_S3C24XX_SOC && ARCH_S3C2410)
      warning: (CPU_S3C2440 && ARCH_S3C2410 && S3C2410_DMA) selects S3C2440_DMA which
      has unmet direct dependencies (ARCH_S3C2410 && CPU_S3C24405B)
      warning: (CPU_S3C2440 && ARCH_S3C2410 || CPU_S3C2442 && ARCH_S3C2410)
      selects CPU_S3C244X which has unmet direct dependencies (!ARCH_S3C2410)
      Signed-off-by: NAbdoulaye Walsimou Gaye <awg@embtoolkit.org>
      
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-samsung-soc@vger.kernel.org
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      e33ffd4d
  26. 20 10月, 2010 1 次提交
    • N
      arm: remove machine_desc.io_pg_offst and .phys_io · 6451d778
      Nicolas Pitre 提交于
      Since we're now using addruart to establish the debug mapping, we can
      remove the io_pg_offst and phys_io members of struct machine_desc.
      
      The various declarations were removed using the following script:
      
        grep -rl MACHINE_START arch/arm | xargs \
        sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
      
      [ Initial patch was from Jeremy Kerr, example script from Russell King ]
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: Eric Miao <eric.miao at canonical.com>
      6451d778
  27. 18 10月, 2010 2 次提交