From: Kevin Hilman Date: Thu, 1 Sep 2011 17:59:36 +0000 (-0700) Subject: OMAP: omap_device: fix !CONFIG_SUSPEND case in _noirq handlers X-Git-Tag: v3.1-rc6~2^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126caf1376e75ce597f993b66241210c7171b04e;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed