From 77f881c378bffa3748bdf8da37522349db5a73b5 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Mon, 27 May 2002 21:28:36 -0700 Subject: driverfs: add and export driverfs_create_symlink for general kernel use --- include/linux/driverfs_fs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/linux/driverfs_fs.h') diff --git a/include/linux/driverfs_fs.h b/include/linux/driverfs_fs.h index 48a773dcfb9a..f9cc70450e6b 100644 --- a/include/linux/driverfs_fs.h +++ b/include/linux/driverfs_fs.h @@ -56,6 +56,11 @@ extern int driverfs_create_file(struct driver_file_entry * entry, struct driver_dir_entry * parent); +extern int +driverfs_create_symlink(struct driver_dir_entry * parent, + struct driver_file_entry * entry, + char * target); + extern void driverfs_remove_file(struct driver_dir_entry *, const char * name); -- cgit v1.2.3