2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00

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>
This commit is contained in:
Jiri Slaby 2007-05-08 00:36:44 -07:00 committed by Linus Torvalds
parent 217191910c
commit 31b4f0a118

View File

@ -4651,8 +4651,8 @@ static void __devinit cy_init_card(struct cyclades_card *cinfo,
/* initialize chips on Cyclom-Y card -- return number of valid /* initialize chips on Cyclom-Y card -- return number of valid
chips (which is number of ports/4) */ chips (which is number of ports/4) */
static unsigned short __init static unsigned short __devinit cyy_init_card(void __iomem *true_base_addr,
cyy_init_card(void __iomem * true_base_addr, int index) int index)
{ {
unsigned int chip_number; unsigned int chip_number;
void __iomem *base_addr; void __iomem *base_addr;