huh
This commit is contained in:
parent
d05ab57551
commit
68f596ffab
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ static int lkm_init(void);
|
||||||
static int lkm_exit(void);
|
static int lkm_exit(void);
|
||||||
int lkm_open(struct inode *, struct file *);
|
int lkm_open(struct inode *, struct file *);
|
||||||
int lkm_release(struct inode *, struct file *);
|
int lkm_release(struct inode *, struct file *);
|
||||||
long lkm_ioctl(struct file *, unsigned int, long int);
|
long lkm_ioctl(struct file *, unsigned int, long unsigned int);
|
||||||
|
|
||||||
static struct file_operations lkm_fops = {
|
static struct file_operations lkm_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
@ -53,7 +53,7 @@ lkm_release(struct inode *inode, struct file *fp)
|
||||||
}
|
}
|
||||||
|
|
||||||
long lkm_ioctl(struct file *fp, unsigned num,
|
long lkm_ioctl(struct file *fp, unsigned num,
|
||||||
long int param) { printk(KERN_INFO "lkm: release: start") }
|
long unsigned int param) { printk(KERN_INFO "lkm: release: start") }
|
||||||
|
|
||||||
MODULE_AUTHOR("Mira Chacku Purakal");
|
MODULE_AUTHOR("Mira Chacku Purakal");
|
||||||
MODULE_DESCRIPTION("Generic Module");
|
MODULE_DESCRIPTION("Generic Module");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue