diff options
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index 923c3a47db0c..d9335ae1fadf 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -2732,7 +2732,7 @@ static void mgslpc_add_device(MGSLPC_INFO *info) | |||
2732 | hdlcdev_init(info); | 2732 | hdlcdev_init(info); |
2733 | #endif | 2733 | #endif |
2734 | tty_port_register_device(&info->port, serial_driver, info->line, | 2734 | tty_port_register_device(&info->port, serial_driver, info->line, |
2735 | &info->p_dev.dev); | 2735 | &info->p_dev->dev); |
2736 | } | 2736 | } |
2737 | 2737 | ||
2738 | static void mgslpc_remove_device(MGSLPC_INFO *remove_info) | 2738 | static void mgslpc_remove_device(MGSLPC_INFO *remove_info) |