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)
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>

No differences found