summaryrefslogtreecommitdiff
path: root/drivers/serial/sunsab.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-06-29 15:18:50 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-29 16:37:53 -0700
commit89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0 (patch)
tree6d2188b9b74a0d2814025c8d9d46fadf52b5c05e /drivers/serial/sunsab.c
parentc4d37215a824820e1b614ff9f6969af72cd953f4 (diff)
downloadlinux-next-89d1d0ab4d99e1e0fe193352e1dd857787a0bfc0.tar.gz
[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>
Diffstat (limited to 'drivers/serial/sunsab.c')
-rw-r--r--drivers/serial/sunsab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c
index 8d3c7e28ba71..141fedbefbc4 100644
--- a/drivers/serial/sunsab.c
+++ b/drivers/serial/sunsab.c
@@ -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;