dev.h 258 B

123456789101112131415
  1. #ifndef _KMM_DEV_H
  2. #define _KMM_DEV_H
  3. #include <linux/fs.h>
  4. typedef struct {
  5. dev_t devno;
  6. struct device *dev; /**< Class device */
  7. struct cdev cdev;
  8. } kmm_dev_t;
  9. const struct file_operations *kmm_get_fops(void);
  10. #endif /* _KMM_BASE_H */