mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
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>
This commit is contained in:
parent
0eee50af5b
commit
3bc4f0d8f6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user