mirror of https://gitee.com/openkylin/linux.git
[POWERPC] macintosh: Replace deprecated __initcall with device_initcall
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
7012255aae
commit
faa5b9daa8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue