mirror of https://gitee.com/openkylin/linux.git
[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 <krzysztof.h1@wp.pl> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
e16edefe65
commit
008d931c45
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue