diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:05 -0400 |
| commit | d8deac5094988c7ad1127ee61f52c59a952fcabb (patch) | |
| tree | 95285444a6e65f2e43d9bc62d13a726277cd91f2 /include/linux/devfs_fs_kernel.h | |
| parent | 5fd571cbc13db113bda26c20673e1ec54bfd26b4 (diff) | |
[PATCH] devfs: Remove devfs from the kernel tree
This is the first patch in a series of patches that removes devfs
support from the kernel. This patch removes the core devfs code, and
its private header file.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/devfs_fs_kernel.h')
| -rw-r--r-- | include/linux/devfs_fs_kernel.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/devfs_fs_kernel.h b/include/linux/devfs_fs_kernel.h index 0d74a6f22a..ef34d7ffe4 100644 --- a/include/linux/devfs_fs_kernel.h +++ b/include/linux/devfs_fs_kernel.h | |||
| @@ -4,25 +4,8 @@ | |||
| 4 | #include <linux/fs.h> | 4 | #include <linux/fs.h> |
| 5 | #include <linux/spinlock.h> | 5 | #include <linux/spinlock.h> |
| 6 | #include <linux/types.h> | 6 | #include <linux/types.h> |
| 7 | |||
| 8 | #include <asm/semaphore.h> | 7 | #include <asm/semaphore.h> |
| 9 | 8 | ||
| 10 | #define DEVFS_SUPER_MAGIC 0x1373 | ||
| 11 | |||
| 12 | #ifdef CONFIG_DEVFS_FS | ||
| 13 | extern int devfs_mk_bdev(dev_t dev, umode_t mode, const char *fmt, ...) | ||
| 14 | __attribute__ ((format(printf, 3, 4))); | ||
| 15 | extern int devfs_mk_cdev(dev_t dev, umode_t mode, const char *fmt, ...) | ||
| 16 | __attribute__ ((format(printf, 3, 4))); | ||
| 17 | extern int devfs_mk_symlink(const char *name, const char *link); | ||
| 18 | extern int devfs_mk_dir(const char *fmt, ...) | ||
| 19 | __attribute__ ((format(printf, 1, 2))); | ||
| 20 | extern void devfs_remove(const char *fmt, ...) | ||
| 21 | __attribute__ ((format(printf, 1, 2))); | ||
| 22 | extern int devfs_register_tape(const char *name); | ||
| 23 | extern void devfs_unregister_tape(int num); | ||
| 24 | extern void mount_devfs_fs(void); | ||
| 25 | #else /* CONFIG_DEVFS_FS */ | ||
| 26 | static inline int devfs_mk_bdev(dev_t dev, umode_t mode, const char *fmt, ...) | 9 | static inline int devfs_mk_bdev(dev_t dev, umode_t mode, const char *fmt, ...) |
| 27 | { | 10 | { |
| 28 | return 0; | 11 | return 0; |
| @@ -53,5 +36,4 @@ static inline void mount_devfs_fs(void) | |||
| 53 | { | 36 | { |
| 54 | return; | 37 | return; |
| 55 | } | 38 | } |
| 56 | #endif /* CONFIG_DEVFS_FS */ | ||
| 57 | #endif /* _LINUX_DEVFS_FS_KERNEL_H */ | 39 | #endif /* _LINUX_DEVFS_FS_KERNEL_H */ |
