Commit 3bc4f0d8 authored by Shubhrajyoti D's avatar Shubhrajyoti D Committed by Greg Kroah-Hartman

omap-serial :Make the suspend/resume functions depend on CONFIG_PM_SLEEP.

    The macro SET_SYSTEM_SLEEP_PM_OPS  depends CONFIG_PM_SLEEP. The patch
    defines the suspend and resume functions for CONFIG_PM_SLEEP instead of
    CONFIG_SUSPEND.
Signed-off-by: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0eee50af
...@@ -1160,7 +1160,7 @@ static struct uart_driver serial_omap_reg = { ...@@ -1160,7 +1160,7 @@ static struct uart_driver serial_omap_reg = {
.cons = OMAP_CONSOLE, .cons = OMAP_CONSOLE,
}; };
#ifdef CONFIG_SUSPEND #ifdef CONFIG_PM_SLEEP
static int serial_omap_suspend(struct device *dev) static int serial_omap_suspend(struct device *dev)
{ {
struct uart_omap_port *up = dev_get_drvdata(dev); struct uart_omap_port *up = dev_get_drvdata(dev);
......
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