diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 18:22:52 -0500 |
commit | 9671f09921d93e722a28ae9610d478e092ac5466 (patch) | |
tree | 3d2c5c8014d703b89061fd02e5362bf81a48a1f9 /drivers/tty/serial/serial_txx9.c | |
parent | 2d47b7160243b1422006b91debf438484a4fde58 (diff) |
tty: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Tony Prisk <linux@prisktech.co.nz>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial_txx9.c')
-rw-r--r-- | drivers/tty/serial/serial_txx9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c index 9d979a9e41a2..23b28b8f4670 100644 --- a/drivers/tty/serial/serial_txx9.c +++ b/drivers/tty/serial/serial_txx9.c | |||
@@ -1030,7 +1030,7 @@ static DEFINE_MUTEX(serial_txx9_mutex); | |||
1030 | * | 1030 | * |
1031 | * On success the port is ready to use and the line number is returned. | 1031 | * On success the port is ready to use and the line number is returned. |
1032 | */ | 1032 | */ |
1033 | static int __devinit serial_txx9_register_port(struct uart_port *port) | 1033 | static int serial_txx9_register_port(struct uart_port *port) |
1034 | { | 1034 | { |
1035 | int i; | 1035 | int i; |
1036 | struct uart_txx9_port *uart; | 1036 | struct uart_txx9_port *uart; |
@@ -1096,7 +1096,7 @@ static void __devexit serial_txx9_unregister_port(int line) | |||
1096 | /* | 1096 | /* |
1097 | * Register a set of serial devices attached to a platform device. | 1097 | * Register a set of serial devices attached to a platform device. |
1098 | */ | 1098 | */ |
1099 | static int __devinit serial_txx9_probe(struct platform_device *dev) | 1099 | static int serial_txx9_probe(struct platform_device *dev) |
1100 | { | 1100 | { |
1101 | struct uart_port *p = dev->dev.platform_data; | 1101 | struct uart_port *p = dev->dev.platform_data; |
1102 | struct uart_port port; | 1102 | struct uart_port port; |
@@ -1187,7 +1187,7 @@ static struct platform_driver serial_txx9_plat_driver = { | |||
1187 | * Probe one serial board. Unfortunately, there is no rhyme nor reason | 1187 | * Probe one serial board. Unfortunately, there is no rhyme nor reason |
1188 | * to the arrangement of serial ports on a PCI card. | 1188 | * to the arrangement of serial ports on a PCI card. |
1189 | */ | 1189 | */ |
1190 | static int __devinit | 1190 | static int |
1191 | pciserial_txx9_init_one(struct pci_dev *dev, const struct pci_device_id *ent) | 1191 | pciserial_txx9_init_one(struct pci_dev *dev, const struct pci_device_id *ent) |
1192 | { | 1192 | { |
1193 | struct uart_port port; | 1193 | struct uart_port port; |