1234567891011121314151617 |
- #ifndef _TEST_DEV_H
- #define _TEST_DEV_H
- #include <linux/fs.h>
- typedef struct {
- dev_t devno;
- struct device *dev; /**< Class device */
- unsigned long addr;
- struct cdev cdev;
- } test_dev_t;
- const struct file_operations *test_get_fops(void);
- #endif /* _TEST_BASE_H */
|