devfs_fs_kernel.h 545 B

123456789101112131415161718192021222324
  1. #ifndef _LINUX_DEVFS_FS_KERNEL_H
  2. #define _LINUX_DEVFS_FS_KERNEL_H
  3. #include <linux/fs.h>
  4. #include <linux/spinlock.h>
  5. #include <linux/types.h>
  6. #include <asm/semaphore.h>
  7. static inline int devfs_mk_bdev(dev_t dev, umode_t mode, const char *fmt, ...)
  8. {
  9. return 0;
  10. }
  11. static inline int devfs_mk_cdev(dev_t dev, umode_t mode, const char *fmt, ...)
  12. {
  13. return 0;
  14. }
  15. static inline int devfs_mk_symlink(const char *name, const char *link)
  16. {
  17. return 0;
  18. }
  19. static inline void devfs_remove(const char *fmt, ...)
  20. {
  21. }
  22. #endif /* _LINUX_DEVFS_FS_KERNEL_H */