OMAP: omap_device: fix !CONFIG_SUSPEND case in _noirq handlers
authorKevin Hilman <khilman@ti.com>
Thu, 1 Sep 2011 17:59:36 +0000 (10:59 -0700)
committerKevin Hilman <khilman@ti.com>
Tue, 6 Sep 2011 20:19:58 +0000 (13:19 -0700)
commit126caf1376e75ce597f993b66241210c7171b04e
tree19ed472c4ea734136469410e4bb93496a205829c
parentc6a389f123b9f68d605bb7e0f9b32ec1e3e14132
OMAP: omap_device: fix !CONFIG_SUSPEND case in _noirq handlers

The suspend/resume _noirq handlers were #ifdef'd out in the
!CONFIG_SUSPEND case, but were still assigned to the dev_pm_ops
struct.  Fix by defining them to NULL in the !CONFIG_SUSPEND case.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/omap_device.c