diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 20:58:25 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 20:58:25 -0700 | 
| commit | 81a3c10ce8a7fd5bf9a06bfc38bd417512911831 (patch) | |
| tree | 12ceac10fae8c4b2dc17b362672a5db305a8d960 /arch/arm/mach-omap2/gpio.c | |
| parent | 6585dea1f99cc2265582ff2e4cc1727062136e92 (diff) | |
| parent | df80442d1ee2902c2e39f90f18160f2e08d14c06 (diff) | |
| download | olio-linux-3.10-81a3c10ce8a7fd5bf9a06bfc38bd417512911831.tar.xz olio-linux-3.10-81a3c10ce8a7fd5bf9a06bfc38bd417512911831.zip  | |
Merge branch 'next/cleanup2' of git://git.linaro.org/people/arnd/arm-soc
* 'next/cleanup2' of git://git.linaro.org/people/arnd/arm-soc: (31 commits)
  ARM: OMAP: Warn if omap_ioremap is called before SoC detection
  ARM: OMAP: Move set_globals initialization to happen in init_early
  ARM: OMAP: Map SRAM later on with ioremap_exec()
  ARM: OMAP: Remove calls to SRAM allocations for framebuffer
  ARM: OMAP: Avoid cpu_is_omapxxxx usage until map_io is done
  ARM: OMAP1: Use generic map_io, init_early and init_irq
  arm/dts: OMAP3+: Add mpu, dsp and iva nodes
  arm/dts: OMAP4: Add a main ocp entry bound to l3-noc driver
  ARM: OMAP2+: l3-noc: Add support for device-tree
  ARM: OMAP2+: board-generic: Add i2c static init
  ARM: OMAP2+: board-generic: Add DT support to generic board
  arm/dts: Add support for OMAP3 Beagle board
  arm/dts: Add initial device tree support for OMAP3 SoC
  arm/dts: Add support for OMAP4 SDP board
  arm/dts: Add support for OMAP4 PandaBoard
  arm/dts: Add initial device tree support for OMAP4 SoC
  ARM: OMAP: omap_device: Add a method to build an omap_device from a DT node
  ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration
  of: Add helpers to get one string in multiple strings property
  ARM: OMAP2+: devices: Remove all omap_device_pm_latency structures
  ...
Fix up trivial header file conflicts in arch/arm/mach-omap2/board-generic.c
Diffstat (limited to 'arch/arm/mach-omap2/gpio.c')
| -rw-r--r-- | arch/arm/mach-omap2/gpio.c | 12 | 
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index 652ccc57419..8cbfbc2918c 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c @@ -24,14 +24,6 @@  #include <plat/omap_hwmod.h>  #include <plat/omap_device.h> -static struct omap_device_pm_latency omap_gpio_latency[] = { -	[0] = { -		.deactivate_func = omap_device_idle_hwmods, -		.activate_func   = omap_device_enable_hwmods, -		.flags		 = OMAP_DEVICE_LATENCY_AUTO_ADJUST, -	}, -}; -  static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused)  {  	struct platform_device *pdev; @@ -108,9 +100,7 @@ static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused)  	}  	pdev = omap_device_build(name, id - 1, oh, pdata, -				sizeof(*pdata),	omap_gpio_latency, -				ARRAY_SIZE(omap_gpio_latency), -				false); +				sizeof(*pdata),	NULL, 0, false);  	kfree(pdata);  	if (IS_ERR(pdev)) {  |