devfs_fs_kernel.h 792 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 int devfs_mk_dir(const char *fmt, ...)
  20. {
  21. return 0;
  22. }
  23. static inline void devfs_remove(const char *fmt, ...)
  24. {
  25. }
  26. static inline int devfs_register_tape(const char *name)
  27. {
  28. return -1;
  29. }
  30. static inline void devfs_unregister_tape(int num)
  31. {
  32. }
  33. static inline void mount_devfs_fs(void)
  34. {
  35. return;
  36. }
  37. #endif /* _LINUX_DEVFS_FS_KERNEL_H */