Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 126caf13 authored by Kevin Hilman's avatar Kevin Hilman
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent c6a389f1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -615,6 +615,9 @@ static int _od_resume_noirq(struct device *dev)

	return pm_generic_resume_noirq(dev);
}
#else
#define _od_suspend_noirq NULL
#define _od_resume_noirq NULL
#endif

static struct dev_pm_domain omap_device_pm_domain = {