Skip to content

Commit

Permalink
[SERIAL] sunsab: Fix section mis-match errors.
Browse files Browse the repository at this point in the history
sunsab_init_one() needs to be __devinit, not __init

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller authored and David S. Miller committed Jun 29, 2006
1 parent c4d3721 commit 89d1d0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/serial/sunsab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 89d1d0a

Please sign in to comment.