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/mxser.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/mxser.c')
-rw-r--r-- | drivers/tty/mxser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index a2fd58c336e4..7f5e0ccf96ea 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c | |||
@@ -487,7 +487,7 @@ static void mxser_disable_must_rx_software_flow_control(unsigned long baseio) | |||
487 | } | 487 | } |
488 | 488 | ||
489 | #ifdef CONFIG_PCI | 489 | #ifdef CONFIG_PCI |
490 | static int __devinit CheckIsMoxaMust(unsigned long io) | 490 | static int CheckIsMoxaMust(unsigned long io) |
491 | { | 491 | { |
492 | u8 oldmcr, hwid; | 492 | u8 oldmcr, hwid; |
493 | int i; | 493 | int i; |
@@ -2369,7 +2369,7 @@ static void mxser_release_ISA_res(struct mxser_board *brd) | |||
2369 | mxser_release_vector(brd); | 2369 | mxser_release_vector(brd); |
2370 | } | 2370 | } |
2371 | 2371 | ||
2372 | static int __devinit mxser_initbrd(struct mxser_board *brd, | 2372 | static int mxser_initbrd(struct mxser_board *brd, |
2373 | struct pci_dev *pdev) | 2373 | struct pci_dev *pdev) |
2374 | { | 2374 | { |
2375 | struct mxser_port *info; | 2375 | struct mxser_port *info; |
@@ -2547,7 +2547,7 @@ err_irqconflict: | |||
2547 | return -EIO; | 2547 | return -EIO; |
2548 | } | 2548 | } |
2549 | 2549 | ||
2550 | static int __devinit mxser_probe(struct pci_dev *pdev, | 2550 | static int mxser_probe(struct pci_dev *pdev, |
2551 | const struct pci_device_id *ent) | 2551 | const struct pci_device_id *ent) |
2552 | { | 2552 | { |
2553 | #ifdef CONFIG_PCI | 2553 | #ifdef CONFIG_PCI |