drivers/pcmcia/pcmcia_ioctl.c: fix build

argh.  A hunk got lost from "proc: remove proc_bus"

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
akpm@linux-foundation.org 2008-04-29 10:47:54 -07:00 committed by Linus Torvalds
parent c9a3f6d6f5
commit 97094dcf5c

View file

@ -787,7 +787,7 @@ void __init pcmcia_setup_ioctl(void) {
major_dev = i; major_dev = i;
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
proc_pccard = proc_mkdir("pccard", proc_bus); proc_pccard = proc_mkdir("bus/pccard", NULL);
if (proc_pccard) if (proc_pccard)
create_proc_read_entry("drivers",0,proc_pccard,proc_read_drivers,NULL); create_proc_read_entry("drivers",0,proc_pccard,proc_read_drivers,NULL);
#endif #endif
@ -798,7 +798,7 @@ void __exit pcmcia_cleanup_ioctl(void) {
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
if (proc_pccard) { if (proc_pccard) {
remove_proc_entry("drivers", proc_pccard); remove_proc_entry("drivers", proc_pccard);
remove_proc_entry("pccard", proc_bus); remove_proc_entry("bus/pccard", NULL);
} }
#endif #endif
if (major_dev != -1) if (major_dev != -1)