OSDN Git Service

m68k/amiga: Mark z_dev_present() __init
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 22 Jan 2012 11:25:55 +0000 (12:25 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 22 Apr 2012 18:16:48 +0000 (20:16 +0200)
It's called from amiga_init_devices() only, which is __init.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/amiga/platform.c

index 7fd8b41..1b8db5c 100644 (file)
@@ -57,7 +57,7 @@ static int __init amiga_init_bus(void)
 subsys_initcall(amiga_init_bus);
 
 
-static int z_dev_present(zorro_id id)
+static int __init z_dev_present(zorro_id id)
 {
        unsigned int i;