/alps/kmm

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/kmm

« back to all changes in this revision

Viewing changes to dev.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-12-02 18:03:58 UTC
  • Revision ID: csa@suren.me-20151202180358-3k401zf10ltlpj0m
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */