From: David S. Miller Date: Thu, 29 Jun 2006 22:18:50 +0000 (-0700) Subject: [SERIAL] sunsab: Fix section mis-match errors. X-Git-Tag: v2.6.18-rc1~328 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0;p=linux-2.6 [SERIAL] sunsab: Fix section mis-match errors. sunsab_init_one() needs to be __devinit, not __init Signed-off-by: David S. Miller --- diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index 8d3c7e28ba..141fedbefb 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;