[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>
This commit is contained in:
parent
c4d37215a8
commit
89d1d0ab4d
1 changed files with 4 additions and 4 deletions
|
@ -976,10 +976,10 @@ 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)
|
||||||
{
|
{
|
||||||
up->port.line = line;
|
up->port.line = line;
|
||||||
up->port.dev = &op->dev;
|
up->port.dev = &op->dev;
|
||||||
|
|
Loading…
Reference in a new issue