]> git.karo-electronics.de Git - linux-beck.git/commitdiff
serial: 8250: of: Enable suspend/resume for 8250_of driver
authorWang Dongsheng <dongsheng.wang@nxp.com>
Thu, 21 Jan 2016 07:59:53 +0000 (15:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 07:13:30 +0000 (23:13 -0800)
Suspend/resume functions should work for 8250_of driver.

Signed-off-by: Wang Dongsheng <dongsheng.wang@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c

index 33021c1f7d5575cc0aa6f0c1c8e25ce53cbf3e1d..c7ed3d2bc8b22bac300e0b28e2657ff758dd07b2 100644 (file)
@@ -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,