Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bus: omap_l3_noc: add missed callbacks for suspend-to-disk

Add missed callbacks needed for proper supporting of suspend-to-disk
by using recently introduced macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS.

Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Grygorii Strashko and committed by
Rafael J. Wysocki
258d2a10 020af89a

+2 -2
+2 -2
drivers/bus/omap_l3_noc.c
··· 300 300 return ret; 301 301 } 302 302 303 - #ifdef CONFIG_PM 303 + #ifdef CONFIG_PM_SLEEP 304 304 305 305 /** 306 306 * l3_resume_noirq() - resume function for l3_noc ··· 346 346 } 347 347 348 348 static const struct dev_pm_ops l3_dev_pm_ops = { 349 - .resume_noirq = l3_resume_noirq, 349 + SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(NULL, l3_resume_noirq) 350 350 }; 351 351 352 352 #define L3_DEV_PM_OPS (&l3_dev_pm_ops)