diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 04:01:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:18 -0400 |
commit | 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (patch) | |
tree | 87f39924be4d36b25918cf7a90eb0db7743cba99 /drivers/nubus/proc.c | |
parent | 5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (diff) |
proc: remove proc_bus
Remove proc_bus export and variable itself. Using pathnames works fine
and is slightly more understandable and greppable.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/nubus/proc.c')
-rw-r--r-- | drivers/nubus/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nubus/proc.c b/drivers/nubus/proc.c index e07492be1f4a..cb83acef9479 100644 --- a/drivers/nubus/proc.c +++ b/drivers/nubus/proc.c | |||
@@ -171,7 +171,7 @@ void __init nubus_proc_init(void) | |||
171 | { | 171 | { |
172 | if (!MACH_IS_MAC) | 172 | if (!MACH_IS_MAC) |
173 | return; | 173 | return; |
174 | proc_bus_nubus_dir = proc_mkdir("nubus", proc_bus); | 174 | proc_bus_nubus_dir = proc_mkdir("bus/nubus", NULL); |
175 | create_proc_info_entry("devices", 0, proc_bus_nubus_dir, | 175 | create_proc_info_entry("devices", 0, proc_bus_nubus_dir, |
176 | get_nubus_dev_info); | 176 | get_nubus_dev_info); |
177 | proc_bus_nubus_add_devices(); | 177 | proc_bus_nubus_add_devices(); |