summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/dvbdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.h')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.h b/linux/drivers/media/dvb/dvb-core/dvbdev.h
index 90cbdf5f0..76bd217bc 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.h
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.h
@@ -43,19 +43,19 @@
#define DVB_DEVICE_OSD 8
-typedef struct dvb_adapter_s {
+struct dvb_adapter {
int num;
devfs_handle_t devfs_handle;
struct list_head list_head;
struct list_head device_list;
-} dvb_adapter_t;
+};
struct dvb_device {
struct list_head list_head;
struct file_operations *fops;
devfs_handle_t devfs_handle;
- dvb_adapter_t *adapter;
+ struct dvb_adapter *adapter;
int type;
u32 id;
@@ -70,12 +70,12 @@ struct dvb_device {
};
-int dvb_register_device(dvb_adapter_t *adap, struct dvb_device **pdvbdev,
+int dvb_register_device(struct dvb_adapter *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);
-int dvb_unregister_adapter(dvb_adapter_t *adap);
+int dvb_register_adapter(struct dvb_adapter **padap, char *name);
+int dvb_unregister_adapter(struct dvb_adapter *adap);
int dvb_generic_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg);