summaryrefslogtreecommitdiffstats
path: root/drivers/char/cyclades.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-05-08 09:36:44 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:15:24 +0200
commit31b4f0a118a7ade8444059ec898af8f07de206e9 (patch)
tree54306c4e6dcaf17453d85989874d7d666ce2452e /drivers/char/cyclades.c
parentChar: cyclades, printk cleanups (diff)
downloadlinux-31b4f0a118a7ade8444059ec898af8f07de206e9.tar.xz
linux-31b4f0a118a7ade8444059ec898af8f07de206e9.zip
Char: cyclades, mark cyy_init_card as __devinit, not __init
Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r--drivers/char/cyclades.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index 7a1530012227..738903d707f7 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -4651,8 +4651,8 @@ static void __devinit cy_init_card(struct cyclades_card *cinfo,
/* initialize chips on Cyclom-Y card -- return number of valid
chips (which is number of ports/4) */
-static unsigned short __init
-cyy_init_card(void __iomem * true_base_addr, int index)
+static unsigned short __devinit cyy_init_card(void __iomem *true_base_addr,
+ int index)
{
unsigned int chip_number;
void __iomem *base_addr;