diff options
author | Holger Waechtler <devnull@localhost> | 2002-10-17 17:39:22 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2002-10-17 17:39:22 +0000 |
commit | e205d6b00652fc6dfecd053b48b94399ef43d2bd (patch) | |
tree | c9ffdafed01989a6eb5e4f7fe22bc2b61387a9e8 /linux/drivers/media/dvb/dvb-core/dvbdev.h | |
parent | bfcd158cbdc8d487c18aaaba706d05500dbfc007 (diff) | |
download | mediapointer-dvb-s2-e205d6b00652fc6dfecd053b48b94399ef43d2bd.tar.gz mediapointer-dvb-s2-e205d6b00652fc6dfecd053b48b94399ef43d2bd.tar.bz2 |
s/generic_usercopy/video_usercopy/g
s/dvb_device_t/struct dvb_device/g
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvbdev.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.h b/linux/drivers/media/dvb/dvb-core/dvbdev.h index 52b0f0d09..90cbdf5f0 100644 --- a/linux/drivers/media/dvb/dvb-core/dvbdev.h +++ b/linux/drivers/media/dvb/dvb-core/dvbdev.h @@ -43,8 +43,7 @@ #define DVB_DEVICE_OSD 8 -typedef struct dvb_adapter_s -{ +typedef struct dvb_adapter_s { int num; devfs_handle_t devfs_handle; struct list_head list_head; @@ -52,8 +51,7 @@ typedef struct dvb_adapter_s } dvb_adapter_t; -typedef struct dvb_device -{ +struct dvb_device { struct list_head list_head; struct file_operations *fops; devfs_handle_t devfs_handle; @@ -64,16 +62,16 @@ typedef struct dvb_device int users; int writers; - /* don't really need those !? */ - int (*kernel_ioctl)(struct inode *inode, struct file *file, - unsigned int cmd, void *arg); // FIXME: use generic_usercopy() + /* don't really need those !? -- FIXME: use video_usercopy */ + int (*kernel_ioctl)(struct inode *inode, struct file *file, + unsigned int cmd, void *arg); void *priv; -} dvb_device_t; +}; -int dvb_register_device(dvb_adapter_t *adap, dvb_device_t **pdvbdev, - dvb_device_t *template, void *priv, int type); +int dvb_register_device(dvb_adapter_t *adap, struct dvb_device **pdvbdev, + struct dvb_device *template, void *priv, int type); void dvb_unregister_device(struct dvb_device *dvbdev); int dvb_register_adapter(dvb_adapter_t **padap, char *name); @@ -83,9 +81,5 @@ int dvb_generic_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); int dvb_generic_open(struct inode *inode, struct file *file); int dvb_generic_release(struct inode *inode, struct file *file); -int generic_usercopy(struct inode *inode, struct file *file, - unsigned int cmd, unsigned long arg, - int (*func)(struct inode *inode, struct file *file, - unsigned int cmd, void *arg)); #endif /* #ifndef __DVBDEV_H */ |