bzr branch
http://darksoft.org/webbzr/alps/kmm
1
by Suren A. Chilingaryan
Initial import |
1 |
#ifndef _KMM_DEV_H
|
2 |
#define _KMM_DEV_H
|
|
3 |
||
4 |
#include <linux/fs.h> |
|
5 |
||
6 |
typedef struct { |
|
7 |
dev_t devno; |
|
8 |
struct device *dev; /**< Class device */ |
|
9 |
||
10 |
struct cdev cdev; |
|
11 |
} kmm_dev_t; |
|
12 |
||
13 |
const struct file_operations *kmm_get_fops(void); |
|
14 |
||
15 |
#endif /* _KMM_BASE_H */ |