diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-29 18:18:50 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 19:37:53 -0400 |
commit | 89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0 (patch) | |
tree | 6d2188b9b74a0d2814025c8d9d46fadf52b5c05e | |
parent | c4d37215a824820e1b614ff9f6969af72cd953f4 (diff) |
[SERIAL] sunsab: Fix section mis-match errors.
sunsab_init_one() needs to be __devinit, not __init
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/serial/sunsab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index 8d3c7e28ba71..141fedbefbc4 100644 --- a/drivers/serial/sunsab.c +++ b/drivers/serial/sunsab.c | |||
@@ -976,10 +976,10 @@ static inline struct console *SUNSAB_CONSOLE(void) | |||
976 | #define sunsab_console_init() do { } while (0) | 976 | #define sunsab_console_init() do { } while (0) |
977 | #endif | 977 | #endif |
978 | 978 | ||
979 | static int __init sunsab_init_one(struct uart_sunsab_port *up, | 979 | static int __devinit sunsab_init_one(struct uart_sunsab_port *up, |
980 | struct of_device *op, | 980 | struct of_device *op, |
981 | unsigned long offset, | 981 | unsigned long offset, |
982 | int line) | 982 | int line) |
983 | { | 983 | { |
984 | up->port.line = line; | 984 | up->port.line = line; |
985 | up->port.dev = &op->dev; | 985 | up->port.dev = &op->dev; |