diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-27 16:03:32 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-27 16:03:32 -0700 | 
| commit | d61b7a572b292e2be409e13b4b3adf475f18fb29 (patch) | |
| tree | e9d30390860147136c05e66abf1edda1bc5b0562 /arch/arm/mach-omap1/gpio7xx.c | |
| parent | 18d9946bc7e2252fe3c0f2f609ac383c627edefd (diff) | |
| parent | f4e2467bad53023589cbff18dd1ab6e0aa3f004c (diff) | |
| download | olio-linux-3.10-d61b7a572b292e2be409e13b4b3adf475f18fb29.tar.xz olio-linux-3.10-d61b7a572b292e2be409e13b4b3adf475f18fb29.zip  | |
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull "ARM: global cleanups" from Arnd Bergmann:
 "Quite a bit of code gets removed, and some stuff moved around, mostly
  the old samsung s3c24xx stuff.  There should be no functional changes
  in this series otherwise.  Some cleanups have dependencies on other
  arm-soc branches and will be sent in the second round.
  Signed-off-by: Arnd Bergmann <arnd@arndb.de>"
Fixed up trivial conflicts mainly due to #include's being changes on
both sides.
* tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (121 commits)
  ep93xx: Remove unnecessary includes of ep93xx-regs.h
  ep93xx: Move EP93XX_SYSCON defines to SoC private header
  ep93xx: Move crunch code to mach-ep93xx directory
  ep93xx: Make syscon access functions private to SoC
  ep93xx: Configure GPIO ports in core code
  ep93xx: Move peripheral defines to local SoC header
  ep93xx: Convert the watchdog driver into a platform device.
  ep93xx: Use ioremap for backlight driver
  ep93xx: Move GPIO defines to gpio-ep93xx.h
  ep93xx: Don't use system controller defines in audio drivers
  ep93xx: Move PHYS_BASE defines to local SoC header file
  ARM: EXYNOS: Add clock register addresses for EXYNOS4X12 bus devfreq driver
  ARM: EXYNOS: add clock registers for exynos4x12-cpufreq
  PM / devfreq: update the name of EXYNOS clock registers that were omitted
  PM / devfreq: update the name of EXYNOS clock register
  ARM: EXYNOS: change the prefix S5P_ to EXYNOS4_ for clock
  ARM: EXYNOS: use static declaration on regarding clock
  ARM: EXYNOS: replace clock.c for other new EXYNOS SoCs
  ARM: OMAP2+: Fix build error after merge
  ARM: S3C24XX: remove call to s3c24xx_setup_clocks
  ...
Diffstat (limited to 'arch/arm/mach-omap1/gpio7xx.c')
| -rw-r--r-- | arch/arm/mach-omap1/gpio7xx.c | 14 | 
1 files changed, 4 insertions, 10 deletions
diff --git a/arch/arm/mach-omap1/gpio7xx.c b/arch/arm/mach-omap1/gpio7xx.c index 5ab63eab0ff..4771d6b68b9 100644 --- a/arch/arm/mach-omap1/gpio7xx.c +++ b/arch/arm/mach-omap1/gpio7xx.c @@ -47,12 +47,13 @@ static struct omap_gpio_reg_offs omap7xx_mpuio_regs = {  	.irqstatus	= OMAP_MPUIO_GPIO_INT / 2,  	.irqenable	= OMAP_MPUIO_GPIO_MASKIT / 2,  	.irqenable_inv	= true, +	.irqctrl	= OMAP_MPUIO_GPIO_INT_EDGE >> 1,  };  static struct __initdata omap_gpio_platform_data omap7xx_mpu_gpio_config = {  	.virtual_irq_start	= IH_MPUIO_BASE, -	.bank_type		= METHOD_MPUIO, -	.bank_width		= 32, +	.is_mpuio		= true, +	.bank_width		= 16,  	.bank_stride		= 2,  	.regs                   = &omap7xx_mpuio_regs,  }; @@ -88,11 +89,11 @@ static struct omap_gpio_reg_offs omap7xx_gpio_regs = {  	.irqstatus	= OMAP7XX_GPIO_INT_STATUS,  	.irqenable	= OMAP7XX_GPIO_INT_MASK,  	.irqenable_inv	= true, +	.irqctrl	= OMAP7XX_GPIO_INT_CONTROL,  };  static struct __initdata omap_gpio_platform_data omap7xx_gpio1_config = {  	.virtual_irq_start	= IH_GPIO_BASE, -	.bank_type		= METHOD_GPIO_7XX,  	.bank_width		= 32,  	.regs			= &omap7xx_gpio_regs,  }; @@ -122,7 +123,6 @@ static struct __initdata resource omap7xx_gpio2_resources[] = {  static struct __initdata omap_gpio_platform_data omap7xx_gpio2_config = {  	.virtual_irq_start	= IH_GPIO_BASE + 32, -	.bank_type		= METHOD_GPIO_7XX,  	.bank_width		= 32,  	.regs			= &omap7xx_gpio_regs,  }; @@ -152,7 +152,6 @@ static struct __initdata resource omap7xx_gpio3_resources[] = {  static struct __initdata omap_gpio_platform_data omap7xx_gpio3_config = {  	.virtual_irq_start	= IH_GPIO_BASE + 64, -	.bank_type		= METHOD_GPIO_7XX,  	.bank_width		= 32,  	.regs			= &omap7xx_gpio_regs,  }; @@ -182,7 +181,6 @@ static struct __initdata resource omap7xx_gpio4_resources[] = {  static struct __initdata omap_gpio_platform_data omap7xx_gpio4_config = {  	.virtual_irq_start	= IH_GPIO_BASE + 96, -	.bank_type		= METHOD_GPIO_7XX,  	.bank_width		= 32,  	.regs			= &omap7xx_gpio_regs,  }; @@ -212,7 +210,6 @@ static struct __initdata resource omap7xx_gpio5_resources[] = {  static struct __initdata omap_gpio_platform_data omap7xx_gpio5_config = {  	.virtual_irq_start	= IH_GPIO_BASE + 128, -	.bank_type		= METHOD_GPIO_7XX,  	.bank_width		= 32,  	.regs			= &omap7xx_gpio_regs,  }; @@ -242,7 +239,6 @@ static struct __initdata resource omap7xx_gpio6_resources[] = {  static struct __initdata omap_gpio_platform_data omap7xx_gpio6_config = {  	.virtual_irq_start	= IH_GPIO_BASE + 160, -	.bank_type		= METHOD_GPIO_7XX,  	.bank_width		= 32,  	.regs			= &omap7xx_gpio_regs,  }; @@ -282,8 +278,6 @@ static int __init omap7xx_gpio_init(void)  	for (i = 0; i < ARRAY_SIZE(omap7xx_gpio_dev); i++)  		platform_device_register(omap7xx_gpio_dev[i]); -	gpio_bank_count = ARRAY_SIZE(omap7xx_gpio_dev); -  	return 0;  }  postcore_initcall(omap7xx_gpio_init);  |