Browse Source

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>
Wang Dongsheng 9 years ago
parent
commit
434ba16e86
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/tty/serial/8250/8250_of.c

+ 1 - 0
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,