lkml.org 
[lkml]   [2004]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Driver Core update for 2.6.4-rc1
Date
From
ChangeSet 1.1612.24.2, 2004/03/01 15:54:54-08:00, rddunlap@osdl.org

[PATCH] rename sys_bus_init()

rename sys_bus_init() to system_bus_init() so that
it doesn't appear to be a syscall;


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

diff -Nru a/drivers/base/init.c b/drivers/base/init.c
--- a/drivers/base/init.c Tue Mar 2 19:49:05 2004
+++ b/drivers/base/init.c Tue Mar 2 19:49:05 2004
@@ -15,7 +15,7 @@
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 @@
* core core pieces.
*/
platform_bus_init();
- sys_bus_init();
+ system_bus_init();
cpu_dev_init();
}
diff -Nru a/drivers/base/sys.c b/drivers/base/sys.c
--- a/drivers/base/sys.c Tue Mar 2 19:49:05 2004
+++ b/drivers/base/sys.c Tue Mar 2 19:49:05 2004
@@ -384,7 +384,7 @@
}


-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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2011 Jasper Spaans