389,7 → 389,6 |
void *file = NULL; |
|
int bttv_open(struct inode *inode, struct file *file); |
int bttv_release(struct inode *inode, struct file *file); |
|
/* Shark Inode emulation - Open */ |
int videodev_open_inode(int num) { |
411,26 → 410,6 |
|
} |
|
/* Shark Inode emulation - Close */ |
int videodev_close_inode(int num) { |
|
struct inode *i; |
|
i = (struct inode *)kmalloc(sizeof(struct inode),GFP_KERNEL); |
|
linuxcomp_setfd(i,num); |
|
if (bttv_release(i,file)) { |
kfree(i); |
return -1; |
} |
|
kfree(file); |
kfree(i); |
return 0; |
|
} |
|
extern int bttv_ioctl(struct inode *inode, struct file *file, |
unsigned int cmd, unsigned long arg); |
|
450,8 → 429,6 |
|
} |
|
|
|
module_init(videodev_init) |
module_exit(videodev_exit) |
|