Commit 69514275 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

[PATCH] rename sys_bus_init()

	rename sys_bus_init() to system_bus_init() so that
	it doesn't appear to be a syscall;
parent 7b206384
......@@ -15,7 +15,7 @@ extern int buses_init(void);
extern int classes_init(void);
extern int firmware_init(void);
extern int platform_bus_init(void);
extern int sys_bus_init(void);
extern int system_bus_init(void);
extern int cpu_dev_init(void);
/**
......@@ -37,6 +37,6 @@ void __init driver_init(void)
* core core pieces.
*/
platform_bus_init();
sys_bus_init();
system_bus_init();
cpu_dev_init();
}
......@@ -384,7 +384,7 @@ int sysdev_resume(void)
}
int __init sys_bus_init(void)
int __init system_bus_init(void)
{
system_subsys.kset.kobj.parent = &devices_subsys.kset.kobj;
return subsystem_register(&system_subsys);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment