From: Krzysztof Helt Date: Tue, 4 Sep 2007 16:18:04 +0000 (+0100) Subject: [ARM] 4565/1: s3c2443: fix section mismatch in irq.c file X-Git-Tag: v2.6.24-rc1~1273^2~29 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008d931c45cd39f7b8a8b99926b557b183074858;p=linux-2.6 [ARM] 4565/1: s3c2443: fix section mismatch in irq.c file This patch removes section mismatches related to irq functions. Signed-off-by: Krzysztof Helt Acked-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/arch/arm/mach-s3c2443/irq.c b/arch/arm/mach-s3c2443/irq.c index 6cd4818f3f..f9ad498a6f 100644 --- a/arch/arm/mach-s3c2443/irq.c +++ b/arch/arm/mach-s3c2443/irq.c @@ -252,7 +252,7 @@ static int __init s3c2443_add_sub(unsigned int base, return 0; } -static int s3c2443_irq_add(struct sys_device *sysdev) +static int __init s3c2443_irq_add(struct sys_device *sysdev) { printk("S3C2443: IRQ Support\n"); @@ -280,7 +280,7 @@ static struct sysdev_driver s3c2443_irq_driver = { .add = s3c2443_irq_add, }; -static int s3c2443_irq_init(void) +static int __init s3c2443_irq_init(void) { return sysdev_driver_register(&s3c2443_sysclass, &s3c2443_irq_driver); }