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/sunsab.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/sunsab.c')
-rw-r--r-- | drivers/tty/serial/sunsab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index bbb07bc74f6c..9a13c54d5f8a 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c | |||
@@ -954,7 +954,7 @@ static inline struct console *SUNSAB_CONSOLE(void) | |||
954 | #define sunsab_console_init() do { } while (0) | 954 | #define sunsab_console_init() do { } while (0) |
955 | #endif | 955 | #endif |
956 | 956 | ||
957 | static int __devinit sunsab_init_one(struct uart_sunsab_port *up, | 957 | static int sunsab_init_one(struct uart_sunsab_port *up, |
958 | struct platform_device *op, | 958 | struct platform_device *op, |
959 | unsigned long offset, | 959 | unsigned long offset, |
960 | int line) | 960 | int line) |
@@ -1007,7 +1007,7 @@ static int __devinit sunsab_init_one(struct uart_sunsab_port *up, | |||
1007 | return 0; | 1007 | return 0; |
1008 | } | 1008 | } |
1009 | 1009 | ||
1010 | static int __devinit sab_probe(struct platform_device *op) | 1010 | static int sab_probe(struct platform_device *op) |
1011 | { | 1011 | { |
1012 | static int inst; | 1012 | static int inst; |
1013 | struct uart_sunsab_port *up; | 1013 | struct uart_sunsab_port *up; |