]> err.no Git - linux-2.6/commitdiff
[ARM] 4565/1: s3c2443: fix section mismatch in irq.c file
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 4 Sep 2007 16:18:04 +0000 (17:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 22:43:14 +0000 (23:43 +0100)
This patch removes section mismatches related to irq functions.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2443/irq.c

index 6cd4818f3f0dcb732cf8d21b5e76e9e06d3e2a97..f9ad498a6fc033e974b8178764513eda7992fdd1 100644 (file)
@@ -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);
 }