diff options
Diffstat (limited to 'drivers/tty/serial/serial_txx9.c')
-rw-r--r-- | drivers/tty/serial/serial_txx9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c index fe48a0c2b4ca..440a962412da 100644 --- a/drivers/tty/serial/serial_txx9.c +++ b/drivers/tty/serial/serial_txx9.c | |||
@@ -1097,7 +1097,7 @@ static void serial_txx9_unregister_port(int line) | |||
1097 | */ | 1097 | */ |
1098 | static int serial_txx9_probe(struct platform_device *dev) | 1098 | static int serial_txx9_probe(struct platform_device *dev) |
1099 | { | 1099 | { |
1100 | struct uart_port *p = dev->dev.platform_data; | 1100 | struct uart_port *p = dev_get_platdata(&dev->dev); |
1101 | struct uart_port port; | 1101 | struct uart_port port; |
1102 | int ret, i; | 1102 | int ret, i; |
1103 | 1103 | ||