devfs_fs_kernel.h 739 B

1234567891011121314151617181920212223242526272829303132333435
  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. #endif /* _LINUX_DEVFS_FS_KERNEL_H */