]> Pileus Git - ~andy/linux/blob - include/linux/devfs_fs_kernel.h
3dd430e016b0e9e4bb197afe1c556c0edbd1b89e
[~andy/linux] / include / linux / devfs_fs_kernel.h
1 #ifndef _LINUX_DEVFS_FS_KERNEL_H
2 #define _LINUX_DEVFS_FS_KERNEL_H
3
4 #include <linux/fs.h>
5 #include <linux/spinlock.h>
6 #include <linux/types.h>
7 #include <asm/semaphore.h>
8
9 static inline int devfs_mk_bdev(dev_t dev, umode_t mode, const char *fmt, ...)
10 {
11         return 0;
12 }
13 static inline int devfs_mk_cdev(dev_t dev, umode_t mode, const char *fmt, ...)
14 {
15         return 0;
16 }
17 static inline int devfs_mk_symlink(const char *name, const char *link)
18 {
19         return 0;
20 }
21 static inline int devfs_mk_dir(const char *fmt, ...)
22 {
23         return 0;
24 }
25 static inline void devfs_remove(const char *fmt, ...)
26 {
27 }
28 static inline int devfs_register_tape(const char *name)
29 {
30         return -1;
31 }
32 static inline void devfs_unregister_tape(int num)
33 {
34 }
35 #endif                          /*  _LINUX_DEVFS_FS_KERNEL_H  */