diff options
Diffstat (limited to 'drivers/tty/serial/icom.c')
-rw-r--r-- | drivers/tty/serial/icom.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index defc4e3393a3..6197a69adb4d 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -175,7 +175,7 @@ static void free_port_memory(struct icom_port *icom_port) | |||
175 | } | 175 | } |
176 | } | 176 | } |
177 | 177 | ||
178 | static int __devinit get_port_memory(struct icom_port *icom_port) | 178 | static int get_port_memory(struct icom_port *icom_port) |
179 | { | 179 | { |
180 | int index; | 180 | int index; |
181 | unsigned long stgAddr; | 181 | unsigned long stgAddr; |
@@ -1314,7 +1314,7 @@ static struct uart_driver icom_uart_driver = { | |||
1314 | .cons = ICOM_CONSOLE, | 1314 | .cons = ICOM_CONSOLE, |
1315 | }; | 1315 | }; |
1316 | 1316 | ||
1317 | static int __devinit icom_init_ports(struct icom_adapter *icom_adapter) | 1317 | static int icom_init_ports(struct icom_adapter *icom_adapter) |
1318 | { | 1318 | { |
1319 | u32 subsystem_id = icom_adapter->subsystem_id; | 1319 | u32 subsystem_id = icom_adapter->subsystem_id; |
1320 | int i; | 1320 | int i; |
@@ -1381,7 +1381,7 @@ static void icom_port_active(struct icom_port *icom_port, struct icom_adapter *i | |||
1381 | 0x8024 + 2 - 2 * (icom_port->port - 2); | 1381 | 0x8024 + 2 - 2 * (icom_port->port - 2); |
1382 | } | 1382 | } |
1383 | } | 1383 | } |
1384 | static int __devinit icom_load_ports(struct icom_adapter *icom_adapter) | 1384 | static int icom_load_ports(struct icom_adapter *icom_adapter) |
1385 | { | 1385 | { |
1386 | struct icom_port *icom_port; | 1386 | struct icom_port *icom_port; |
1387 | int port_num; | 1387 | int port_num; |
@@ -1407,7 +1407,7 @@ static int __devinit icom_load_ports(struct icom_adapter *icom_adapter) | |||
1407 | return 0; | 1407 | return 0; |
1408 | } | 1408 | } |
1409 | 1409 | ||
1410 | static int __devinit icom_alloc_adapter(struct icom_adapter | 1410 | static int icom_alloc_adapter(struct icom_adapter |
1411 | **icom_adapter_ref) | 1411 | **icom_adapter_ref) |
1412 | { | 1412 | { |
1413 | int adapter_count = 0; | 1413 | int adapter_count = 0; |
@@ -1487,7 +1487,7 @@ static void icom_kref_release(struct kref *kref) | |||
1487 | icom_remove_adapter(icom_adapter); | 1487 | icom_remove_adapter(icom_adapter); |
1488 | } | 1488 | } |
1489 | 1489 | ||
1490 | static int __devinit icom_probe(struct pci_dev *dev, | 1490 | static int icom_probe(struct pci_dev *dev, |
1491 | const struct pci_device_id *ent) | 1491 | const struct pci_device_id *ent) |
1492 | { | 1492 | { |
1493 | int index; | 1493 | int index; |
@@ -1596,7 +1596,7 @@ probe_exit0: | |||
1596 | return retval; | 1596 | return retval; |
1597 | } | 1597 | } |
1598 | 1598 | ||
1599 | static void __devexit icom_remove(struct pci_dev *dev) | 1599 | static void icom_remove(struct pci_dev *dev) |
1600 | { | 1600 | { |
1601 | struct icom_adapter *icom_adapter; | 1601 | struct icom_adapter *icom_adapter; |
1602 | struct list_head *tmp; | 1602 | struct list_head *tmp; |
@@ -1617,7 +1617,7 @@ static struct pci_driver icom_pci_driver = { | |||
1617 | .name = ICOM_DRIVER_NAME, | 1617 | .name = ICOM_DRIVER_NAME, |
1618 | .id_table = icom_pci_table, | 1618 | .id_table = icom_pci_table, |
1619 | .probe = icom_probe, | 1619 | .probe = icom_probe, |
1620 | .remove = __devexit_p(icom_remove), | 1620 | .remove = icom_remove, |
1621 | }; | 1621 | }; |
1622 | 1622 | ||
1623 | static int __init icom_init(void) | 1623 | static int __init icom_init(void) |