Commit 258d2a10 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Rafael J. Wysocki

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: default avatarGrygorii Strashko <Grygorii.Strashko@linaro.org>
Acked-by: default avatarNishanth Menon <nm@ti.com>
Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarKevin Hilman <khilman@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 020af89a
...@@ -300,7 +300,7 @@ static int omap_l3_probe(struct platform_device *pdev) ...@@ -300,7 +300,7 @@ static int omap_l3_probe(struct platform_device *pdev)
return ret; return ret;
} }
#ifdef CONFIG_PM #ifdef CONFIG_PM_SLEEP
/** /**
* l3_resume_noirq() - resume function for l3_noc * l3_resume_noirq() - resume function for l3_noc
...@@ -346,7 +346,7 @@ static int l3_resume_noirq(struct device *dev) ...@@ -346,7 +346,7 @@ static int l3_resume_noirq(struct device *dev)
} }
static const struct dev_pm_ops l3_dev_pm_ops = { static const struct dev_pm_ops l3_dev_pm_ops = {
.resume_noirq = l3_resume_noirq, SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(NULL, l3_resume_noirq)
}; };
#define L3_DEV_PM_OPS (&l3_dev_pm_ops) #define L3_DEV_PM_OPS (&l3_dev_pm_ops)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment