sunsab_init_one() needs to be __devinit, not __init
Signed-off-by: David S. Miller <davem@davemloft.net>
#define sunsab_console_init() do { } while (0)
#endif
#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;
{
up->port.line = line;
up->port.dev = &op->dev;