1
0
Fork 0

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: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
hifive-unleashed-5.1
Shubhrajyoti D 2012-01-16 15:52:36 +05:30 committed by Greg Kroah-Hartman
parent 0eee50af5b
commit 3bc4f0d8f6
1 changed files with 1 additions and 1 deletions

View File

@ -1160,7 +1160,7 @@ static struct uart_driver serial_omap_reg = {
.cons = OMAP_CONSOLE,
};
#ifdef CONFIG_SUSPEND
#ifdef CONFIG_PM_SLEEP
static int serial_omap_suspend(struct device *dev)
{
struct uart_omap_port *up = dev_get_drvdata(dev);