diff options
| author | Wang Dongsheng <dongsheng.wang@nxp.com> | 2016-01-21 10:59:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 10:13:30 +0300 |
| commit | 434ba16e86640104faf241eaf34bc4bbea9733a4 (patch) | |
| tree | 406ffccce32c70486fcaba9bb754e27ac8ed8411 | |
| parent | 1349ba02bf72caafa36a2d6878cdba340d65b2ac (diff) | |
| download | linux-434ba16e86640104faf241eaf34bc4bbea9733a4.tar.xz | |
serial: 8250: of: Enable suspend/resume for 8250_of driver
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>
| -rw-r--r-- | drivers/tty/serial/8250/8250_of.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
