mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rename sys_bus_init()
@ 2004-03-01 23:42 Randy.Dunlap
  2004-03-01 23:55 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2004-03-01 23:42 UTC (permalink / raw)
  To: gregkh; +Cc: lkml

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rename sys_bus_init()
  2004-03-01 23:42 [PATCH] rename sys_bus_init() Randy.Dunlap
@ 2004-03-01 23:55 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-03-01 23:55 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: lkml

On Mon, Mar 01, 2004 at 03:42:10PM -0800, Randy.Dunlap wrote:
> 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;

Applied, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-01 23:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 23:42 [PATCH] rename sys_bus_init() Randy.Dunlap
2004-03-01 23:55 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®