1. 18 5月, 2009 4 次提交
    • B
      [ARM] S3C24XX: Fix missing <linux/sysdev.h> · 86c03c52
      Ben Dooks 提交于
      In our recent changes, arch/arm/plat-s3c24xx/gpiolib.c needs
      to have <linux/sysdev.h> included for it to build.
      
      This fixes the following error/warnings:
      
      arch/arm/plat-s3c/include/plat/pm.h:104: error: expected declaration specifiers or '...' before 'pm_message_t'
      arch/arm/plat-s3c/include/plat/pm.h:104: warning: 'struct sys_device' declared inside parameter list
      arch/arm/plat-s3c/include/plat/pm.h:104: warning: its scope is only this definition or declaration, which is probably not what you want
      arch/arm/plat-s3c/include/plat/pm.h:105: warning: 'struct sys_device' declared inside parameter list
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      86c03c52
    • 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
    • B
      [ARM] S3C24XX: GPIO: Remove s3c2410_gpio_irq2pin() call · ec7f4d5d
      Ben Dooks 提交于
      Remove the s3c2410_gpio_irq2pin() function as it is not being
      used in any in kernel driver and the function is probably not
      being used anywhere else.
      
      This is also part of the effort to remove any of the s3c24xx gpio
      specific code that cannot be recreated by using the gpiolib
      framework now in the kernel.
      Signed-off-by: NBen Dooks <ben@simtec.co.uk>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      ec7f4d5d
  2. 07 5月, 2009 22 次提交
  3. 01 5月, 2009 8 次提交
  4. 30 4月, 2009 6 次提交