[PATCH] rename sys_bus_init()

From: Randy.Dunlap
Date: Mon Mar 01 2004 - 18:44:00 EST


Please apply to 2.6.current.

Thanks,
--
~Randy


// linux 2.6.4 2004.0301
desc: rename sys_bus_init() to system_bus_init() so that
it doesn't appear to be a syscall;

diffstat:=
drivers/base/init.c | 4 ++--
drivers/base/sys.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)


diff -Naurp ./drivers/base/init.c~sysbus ./drivers/base/init.c
--- ./drivers/base/init.c~sysbus 2004-03-01 14:07:21.000000000 -0800
+++ ./drivers/base/init.c 2004-03-01 14:55:55.000000000 -0800
@@ -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();
}
diff -Naurp ./drivers/base/sys.c~sysbus ./drivers/base/sys.c
--- ./drivers/base/sys.c~sysbus 2004-03-01 14:07:18.000000000 -0800
+++ ./drivers/base/sys.c 2004-03-01 14:55:44.000000000 -0800
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/