提交 89d1d0ab 编写于 作者: D David S. Miller 提交者: David S. Miller

[SERIAL] sunsab: Fix section mis-match errors.

sunsab_init_one() needs to be __devinit, not __init
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c4d37215
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册