From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Driver Core update for 2.6.4-rc1
Date: Tue, 2 Mar 2004 20:16:39 -0800 [thread overview]
Message-ID: <10782873993927@kroah.com> (raw)
In-Reply-To: <10782873983662@kroah.com>
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);
next prev parent reply other threads:[~2004-03-03 4:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 4:14 [BK PATCH] Driver Core update for 2.6.4-rc1 Greg KH
2004-03-03 4:16 ` [PATCH] " Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH [this message]
2004-03-03 4:16 ` Greg KH
2004-03-03 4:16 ` Greg KH
2004-03-03 22:24 ` Russell King
2004-03-03 23:06 ` Greg KH
2004-03-03 8:00 ` Christoph Hellwig
2004-03-03 15:07 ` Greg KH
2004-03-03 15:13 ` Christoph Hellwig
2004-03-03 15:19 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10782873993927@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox