[SERIAL] sunsab: Fix section mis-match errors.
authorDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2006 22:18:50 +0000 (15:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:37:53 +0000 (16:37 -0700)
sunsab_init_one() needs to be __devinit, not __init

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsab.c

index 8d3c7e2..141fedb 100644 (file)
@@ -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;