diff options
Diffstat (limited to 'drivers/serial/mpc52xx_uart.c')
-rw-r--r-- | drivers/serial/mpc52xx_uart.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c index cb079387c5ae..4fb32e3748c2 100644 --- a/drivers/serial/mpc52xx_uart.c +++ b/drivers/serial/mpc52xx_uart.c | |||
@@ -1464,15 +1464,16 @@ mpc52xx_uart_of_enumerate(void) | |||
1464 | MODULE_DEVICE_TABLE(of, mpc52xx_uart_of_match); | 1464 | MODULE_DEVICE_TABLE(of, mpc52xx_uart_of_match); |
1465 | 1465 | ||
1466 | static struct of_platform_driver mpc52xx_uart_of_driver = { | 1466 | static struct of_platform_driver mpc52xx_uart_of_driver = { |
1467 | .match_table = mpc52xx_uart_of_match, | ||
1468 | .probe = mpc52xx_uart_of_probe, | 1467 | .probe = mpc52xx_uart_of_probe, |
1469 | .remove = mpc52xx_uart_of_remove, | 1468 | .remove = mpc52xx_uart_of_remove, |
1470 | #ifdef CONFIG_PM | 1469 | #ifdef CONFIG_PM |
1471 | .suspend = mpc52xx_uart_of_suspend, | 1470 | .suspend = mpc52xx_uart_of_suspend, |
1472 | .resume = mpc52xx_uart_of_resume, | 1471 | .resume = mpc52xx_uart_of_resume, |
1473 | #endif | 1472 | #endif |
1474 | .driver = { | 1473 | .driver = { |
1475 | .name = "mpc52xx-psc-uart", | 1474 | .name = "mpc52xx-psc-uart", |
1475 | .owner = THIS_MODULE, | ||
1476 | .of_match_table = mpc52xx_uart_of_match, | ||
1476 | }, | 1477 | }, |
1477 | }; | 1478 | }; |
1478 | 1479 | ||