1. 09 2月, 2013 1 次提交
    • H
      ARM: S3C24XX: add missing platform_device.h include for osiris · 083c8e28
      Heiko Stuebner 提交于
      The missing include led to a implcit declaration warning:
      
      In file included from arch/arm/mach-s3c24xx/mach-osiris.c:34:0:
      include/linux/platform_data/i2c-s3c2410.h:37:26: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:37:26: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:66:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:67:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:68:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:69:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:70:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:71:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:72:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      include/linux/platform_data/i2c-s3c2410.h:73:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      083c8e28
  2. 19 9月, 2012 1 次提交
    • A
      ARM: samsung: move platform_data definitions · 436d42c6
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the samsung include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: linux-samsung-soc@vger.kernel.org
      436d42c6
  3. 29 8月, 2012 1 次提交
  4. 13 5月, 2012 1 次提交
  5. 03 3月, 2012 1 次提交
  6. 01 3月, 2012 1 次提交
    • H
      ARM: S3C24XX: Fix restart on S3C2442 · c1ba544f
      Heiko Stuebner 提交于
      Commit b27b0727 (ARM: 7265/1: restart: S3C24XX: use new restart hook)
      introduced the new restart hook also for the S3C244x cpus, but it
      was only defined in the S3C2440 scope, i.e. when CPU_S3C2440 was
      selected. Devices using the S3C2442 like the GTA02 normally don't select
      this CPU which leads to compilation errors like:
          LD      .tmp_vmlinux1
        arch/arm/mach-s3c2440/built-in.o:(.arch.info.init+0x3c): undefined reference
      to `s3c2440_restart'
        make: *** [.tmp_vmlinux1] Error 1
      
      Therefore move the s3c2440_restart function to s3c244x.c which is
      common to both cpus and also fix the naming to reflect this.
      Reported-and-tested-by: NDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      c1ba544f
  7. 05 1月, 2012 1 次提交
  8. 23 12月, 2011 1 次提交
  9. 22 8月, 2011 1 次提交
  10. 25 4月, 2011 1 次提交
  11. 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
  12. 06 5月, 2010 1 次提交
  13. 24 12月, 2009 1 次提交
  14. 01 12月, 2009 3 次提交
  15. 31 7月, 2009 1 次提交
  16. 18 5月, 2009 3 次提交
    • B
      [ARM] S3C24XX: GPIO: Change to macros for GPIO numbering · 070276d5
      Ben Dooks 提交于
      Prepare to remove the large number of S3C2410_GPxn defines
      by moving to S3C2410_GPx(n) in arch/arm.
      
      The following perl was used to change the files:
      
          perl -pi~ -e 's/S3C2410_GP([A-Z])([0-9]+)([^_^0-9])/S3C2410_GP\1\(\2\)\3/g'
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      070276d5
    • B
      [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> · ec976d6e
      Ben Dooks 提交于
      Move all the gpio functions out of <mach/hardware.h> as
      this file is for defining the generic IO base addresses
      for the kernel IO calls.
      
      Make a new header <mach/gpio-fns.h> to take this and
      include it via the chain from <linux/gpio.h> which is
      what most of these files should be using (and will be
      changed as soon as possible).
      
      Note, this does make minor changes to some drivers but
      should not mess up any pending merges.
      
      CC: Richard Purdie <rpurdie@rpsys.net>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      CC: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      ec976d6e
    • B
      [ARM] S3C24XX: GPIO: Remove pin specific input and output defines · 9f05f6a9
      Ben Dooks 提交于
      The use of S3C2410_GP[A-Z]x_INP and S3C2410_GP[A-Z]x_OUTP are
      very rare and are taking up large amounts of space in the
      regs-gpio.h header.
      
      The GPIO layer has had generic input and out defines called
      S3C2410_GPIO_INPUT and S3C2410_GPIO_OUTPUT for a while which work
      for all S3C24XX GPIOs.
      
      Do the following replacements:
      
         S3C2410_GP[A-Z][0-9]*_\OUTP => S3C2410_GPIO_OUTPUT
         S3C2410_GP[A-Z][0-9]*_\INP  => /S3C2410_GPIO_INPUT
         S3C2410_GPA[0-9]*_OUT       => S3C2410_GPIO_OUTPUT
      
      to remove any usages of these and prepare the header for
      the removal of these.
      
      The following command was used to acheive this:
      
      find . -type f -writable ! -name regs-gpio.h ! -name "*~" | xargs sed -i~ -e 's/S3C2410_GP[A-Z][0-9]*_\OUTP/S3C2410_GPIO_OUTPUT/g' -e 's/S3C2410_GP[A-Z][0-9]*_\INP/S3C2410_GPIO_INPUT/g' -e 's/S3C2410_GPA[0-9]*_OUT/S3C2410_GPIO_OUTPUT/g'
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      9f05f6a9
  17. 17 4月, 2009 1 次提交
  18. 16 12月, 2008 1 次提交
  19. 30 10月, 2008 1 次提交
  20. 08 10月, 2008 2 次提交
  21. 06 9月, 2008 1 次提交
  22. 07 8月, 2008 2 次提交
  23. 16 7月, 2008 1 次提交
  24. 03 7月, 2008 1 次提交
  25. 18 4月, 2008 1 次提交
  26. 25 1月, 2008 1 次提交
  27. 06 10月, 2007 2 次提交
  28. 22 7月, 2007 1 次提交
    • B
      [ARM] 4508/1: S3C: Move items to include/asm-arm/plat-s3c · 531b617c
      Ben Dooks 提交于
      This patch moves items of the s3c24xx support into
      a new plat-s3c directory for items that use the
      s3c24xx support but are not directly s3c24xx
      compatible, such as the s3c2400 and s3c6400.
      
      git mv commands:
      git mv include/asm-arm/arch-s3c2410/iic.h include/asm-arm/plat-s3c/iic.h
      git mv include/asm-arm/arch-s3c2410/nand.h include/asm-arm/plat-s3c/nand.h
      git mv include/asm-arm/arch-s3c2410/regs-iic.h include/asm-arm/plat-s3c/regs-iic.h
      git mv include/asm-arm/arch-s3c2410/regs-nand.h include/asm-arm/plat-s3c/regs-nand.h
      git mv include/asm-arm/arch-s3c2410/regs-rtc.h include/asm-arm/plat-s3c/regs-rtc.h
      git mv include/asm-arm/arch-s3c2410/regs-serial.h include/asm-arm/plat-s3c/regs-serial.h
      git mv include/asm-arm/arch-s3c2410/regs-timer.h include/asm-arm/plat-s3c/regs-timer.h
      git mv include/asm-arm/arch-s3c2410/regs-watchdog.h include/asm-arm/plat-s3c/regs-watchdog.h
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      531b617c
  29. 12 7月, 2007 1 次提交
  30. 11 6月, 2007 3 次提交
  31. 21 5月, 2007 1 次提交