]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Fix gpio.c compile on 15xx with CONFIG_DEBUGFS
authorTony Lindgren <tony@atomide.com>
Thu, 15 Jan 2009 11:09:53 +0000 (13:09 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Jan 2009 11:09:53 +0000 (13:09 +0200)
commit3a26e3318bc2ceec340f242c6ee7074becdc7219
treea9dcd953a4dd54fce41726dbf3b9292e02f8c4ec
parent145d9c94b9039efdab6853255f6b916adc793bfd
ARM: OMAP: Fix gpio.c compile on 15xx with CONFIG_DEBUGFS

There are no wakeup registers on 15xx, and suspend_wakeup
does not exist in the struct gpio_bank.

Without this fix we'll get "arch/arm/plat-omap/gpio.c:1792:
error: 'struct gpio_bank' has no member named 'suspend_wakeup'"
as noted by Russell King.

Note that the ifdefs will be cleaned up once the omap gpio
code gets split into omap1 and omap2 specific parts.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c