summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-10-30 20:25:59 -0800
committerPatrick Mochel <mochel@osdl.org>2002-10-30 20:25:59 -0800
commit293c14d9329de03b8f77d8897b985f150b51e56c (patch)
tree4156e82333b195f4e60c4229658f43b655806162
parent69a304e3b48ad7138719a6ecd48cdc20760af523 (diff)
driver model: remove few remaining references to driverfs.
-rw-r--r--drivers/base/fs/device.c5
-rw-r--r--drivers/base/fs/fs.h2
-rw-r--r--include/linux/device.h3
3 files changed, 0 insertions, 10 deletions
diff --git a/drivers/base/fs/device.c b/drivers/base/fs/device.c
index 9f1dee4e7637..faaf687507cb 100644
--- a/drivers/base/fs/device.c
+++ b/drivers/base/fs/device.c
@@ -47,8 +47,3 @@ void fill_devpath(struct device * dev, char * path, int length)
pr_debug("%s: path = '%s'\n",__FUNCTION__,path);
}
-void device_remove_symlink(struct driver_dir_entry * dir, const char * name)
-{
- driverfs_remove_file(dir,name);
-}
-
diff --git a/drivers/base/fs/fs.h b/drivers/base/fs/fs.h
index c072bd604137..863c2cd5ab59 100644
--- a/drivers/base/fs/fs.h
+++ b/drivers/base/fs/fs.h
@@ -1,6 +1,4 @@
-extern int device_create_dir(struct driver_dir_entry * dir, struct driver_dir_entry * parent);
-
int get_devpath_length(struct device * dev);
void fill_devpath(struct device * dev, char * path, int length);
diff --git a/include/linux/device.h b/include/linux/device.h
index 2a48f492854b..0bea391871ae 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -28,7 +28,6 @@
#include <linux/ioport.h>
#include <linux/list.h>
#include <linux/sched.h>
-#include <linux/driverfs_fs.h>
#include <linux/kobject.h>
#define DEVICE_NAME_SIZE 80
@@ -284,8 +283,6 @@ struct device {
* persists for the right amount of time */
struct bus_type * bus; /* type of bus device is on */
- struct driver_dir_entry dir;
-
struct device_driver *driver; /* which driver has allocated this
device */
void *driver_data; /* data private to the driver */