Skip to content

Commit

Permalink
Char: cyclades, mark cyy_init_card as __devinit, not __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed May 8, 2007
1 parent 2171919 commit 31b4f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31b4f0a

Please sign in to comment.