projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/drivers/serial/sunsab.c
b/drivers/serial/sunsab.c
index 8d3c7e28ba7151041d9f29683d6c181662527c6b..141fedbefbc4cd51096b4d8a2569e14722a933d8 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;