[patch 3/4] macintosh: replace deprecated __initcall with device_initcall
akpm at linux-foundation.org
akpm at linux-foundation.org
Thu May 15 09:12:53 EST 2008
From: "Robert P. J. Day" <rpjday at crashcourse.ca>
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---
drivers/macintosh/adb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/macintosh/adb.c~macintosh-replace-deprecated-__initcall-with-device_initcall drivers/macintosh/adb.c
--- a/drivers/macintosh/adb.c~macintosh-replace-deprecated-__initcall-with-device_initcall
+++ a/drivers/macintosh/adb.c
@@ -334,7 +334,7 @@ int __init adb_init(void)
return 0;
}
-__initcall(adb_init);
+device_initcall(adb_init);
static int
do_adb_reset_bus(void)
_
More information about the Linuxppc-dev
mailing list