Commit 89d1d0ab authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[SERIAL] sunsab: Fix section mis-match errors.

sunsab_init_one() needs to be __devinit, not __init
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4d37215
...@@ -976,7 +976,7 @@ static inline struct console *SUNSAB_CONSOLE(void) ...@@ -976,7 +976,7 @@ static inline struct console *SUNSAB_CONSOLE(void)
#define sunsab_console_init() do { } while (0) #define sunsab_console_init() do { } while (0)
#endif #endif
static int __init sunsab_init_one(struct uart_sunsab_port *up, static int __devinit sunsab_init_one(struct uart_sunsab_port *up,
struct of_device *op, struct of_device *op,
unsigned long offset, unsigned long offset,
int line) int line)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment