From: Jiri Slaby Date: Tue, 8 May 2007 07:36:44 +0000 (-0700) Subject: Char: cyclades, mark cyy_init_card as __devinit, not __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=31b4f0a118a7ade8444059ec898af8f07de206e9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Char: cyclades, mark cyy_init_card as __devinit, not __init Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;