aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:06 -0400
commit95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch)
tree899cd99bdc928ade94ddc7b003b0de7d275cac48 /drivers/sbus
parent0e6c62da7cd929b0389fc4a7e41464bb738647dc (diff)
[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
Removes the devfs_mk_dir() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/sbus')
-rw-r--r--drivers/sbus/char/bpp.c1
-rw-r--r--drivers/sbus/char/vfc_dev.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c
index ccb20a6f5f36..03f6e9880692 100644
--- a/drivers/sbus/char/bpp.c
+++ b/drivers/sbus/char/bpp.c
@@ -1031,7 +1031,6 @@ static int __init bpp_init(void)
1031 instances[idx].opened = 0; 1031 instances[idx].opened = 0;
1032 probeLptPort(idx); 1032 probeLptPort(idx);
1033 } 1033 }
1034 devfs_mk_dir("bpp");
1035 for (idx = 0; idx < BPP_NO; idx++) { 1034 for (idx = 0; idx < BPP_NO; idx++) {
1036 devfs_mk_cdev(MKDEV(BPP_MAJOR, idx), 1035 devfs_mk_cdev(MKDEV(BPP_MAJOR, idx),
1037 S_IFCHR | S_IRUSR | S_IWUSR, "bpp/%d", idx); 1036 S_IFCHR | S_IRUSR | S_IWUSR, "bpp/%d", idx);
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c
index ddcd330b9e89..31232ce72071 100644
--- a/drivers/sbus/char/vfc_dev.c
+++ b/drivers/sbus/char/vfc_dev.c
@@ -677,7 +677,6 @@ static int vfc_probe(void)
677 kfree(vfc_dev_lst); 677 kfree(vfc_dev_lst);
678 return -EIO; 678 return -EIO;
679 } 679 }
680 devfs_mk_dir("vfc");
681 instance = 0; 680 instance = 0;
682 for_all_sbusdev(sdev, sbus) { 681 for_all_sbusdev(sdev, sbus) {
683 if (strcmp(sdev->prom_name, "vfc") == 0) { 682 if (strcmp(sdev->prom_name, "vfc") == 0) {