From 434ba16e86640104faf241eaf34bc4bbea9733a4 Mon Sep 17 00:00:00 2001 From: Wang Dongsheng Date: Thu, 21 Jan 2016 15:59:53 +0800 Subject: [PATCH] serial: 8250: of: Enable suspend/resume for 8250_of driver Suspend/resume functions should work for 8250_of driver. Signed-off-by: Wang Dongsheng Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_of.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 33021c1..c7ed3d2b 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -335,6 +335,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, .remove = of_platform_serial_remove, -- 2.7.4