From: Wang Dongsheng Date: Thu, 21 Jan 2016 07:59:53 +0000 (+0800) Subject: serial: 8250: of: Enable suspend/resume for 8250_of driver X-Git-Tag: next-20160210~21^2~31 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=434ba16e86640104faf241eaf34bc4bbea9733a4;p=karo-tx-linux.git 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 --- diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 33021c1f7d55..c7ed3d2bc8b2 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,