projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4d3721
)
[SERIAL] sunsab: Fix section mis-match errors.
author
David S. Miller
<davem@davemloft.net>
Thu, 29 Jun 2006 22:18:50 +0000
(15:18 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:37:53 +0000
(16:37 -0700)
sunsab_init_one() needs to be __devinit, not __init
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsab.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sunsab.c
b/drivers/serial/sunsab.c
index
8d3c7e2
..
141fedb
100644
(file)
--- 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 __
dev
init 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;