Skip to content

Commit

Permalink
drivers/pcmcia/pcmcia_ioctl.c: fix build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akpm@linux-foundation.org authored and Linus Torvalds committed Apr 29, 2008
1 parent c9a3f6d commit 97094dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pcmcia/pcmcia_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ void __init pcmcia_setup_ioctl(void) {
major_dev = i;

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

0 comments on commit 97094dc

Please sign in to comment.