summaryrefslogtreecommitdiff
path: root/include/linux/proc_fs.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-07-10 10:01:26 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-10 10:01:26 -0700
commit5ad9cb65e9b15e5b83e2dd1c10a4bcaccc4ec644 (patch)
tree5b2a7bbacb536a3486d7931ef7ee44fe63febcba /include/linux/proc_fs.h
parentca2a459cd7d29d5d79a71f6a415e3baed8865e50 (diff)
[PATCH] remove proc_mknod()
From: Christoph Hellwig <hch@lst.de> It's not used anymore since ALSA switched to traditional devices and device nodes in procfs are a bad idea in general.. Also update the docs.
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r--include/linux/proc_fs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index e2e54ee6186d..9054f5686f04 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -71,7 +71,6 @@ struct proc_dir_entry {
write_proc_t *write_proc;
atomic_t count; /* use count */
int deleted; /* delete flag */
- kdev_t rdev;
};
struct kcore_list {
@@ -141,8 +140,6 @@ extern void proc_rtas_init(void);
extern struct proc_dir_entry *proc_symlink(const char *,
struct proc_dir_entry *, const char *);
-extern struct proc_dir_entry *proc_mknod(const char *,mode_t,
- struct proc_dir_entry *,kdev_t);
extern struct proc_dir_entry *proc_mkdir(const char *,struct proc_dir_entry *);
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
@@ -209,8 +206,6 @@ static inline struct proc_dir_entry *create_proc_entry(const char *name,
static inline struct proc_dir_entry *proc_symlink(const char *name,
struct proc_dir_entry *parent,char *dest) {return NULL;}
-static inline struct proc_dir_entry *proc_mknod(const char *name,mode_t mode,
- struct proc_dir_entry *parent,kdev_t rdev) {return NULL;}
static inline struct proc_dir_entry *proc_mkdir(const char *name,
struct proc_dir_entry *parent) {return NULL;}