diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-30 00:18:50 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-30 01:37:53 +0200 |
commit | 89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0 (patch) | |
tree | 6d2188b9b74a0d2814025c8d9d46fadf52b5c05e /drivers | |
parent | [SERIAL] sunsab: Convert to of_driver framework. (diff) | |
download | linux-89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0.tar.xz linux-89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0.zip |
[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>
Diffstat (limited to '')
-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) #define sunsab_console_init() do { } while (0) #endif -static int __init sunsab_init_one(struct uart_sunsab_port *up, - struct of_device *op, - unsigned long offset, - int line) +static int __devinit sunsab_init_one(struct uart_sunsab_port *up, + struct of_device *op, + unsigned long offset, + int line) { up->port.line = line; up->port.dev = &op->dev; |