summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/dvbdev.c
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2002-10-17 17:53:37 +0000
committerHolger Waechtler <devnull@localhost>2002-10-17 17:53:37 +0000
commit9620ce8ac694177b30dd847e98cb5857e39b8724 (patch)
tree119faddb56229a859efda43dc7f5db5a9ead1667 /linux/drivers/media/dvb/dvb-core/dvbdev.c
parente205d6b00652fc6dfecd053b48b94399ef43d2bd (diff)
downloadmediapointer-dvb-s2-9620ce8ac694177b30dd847e98cb5857e39b8724.tar.gz
mediapointer-dvb-s2-9620ce8ac694177b30dd847e98cb5857e39b8724.tar.bz2
s/dvb_adapter_t/struct dvb_adapter/g
s/struct dvb_adapter_s/struct dvb_adapter/g
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.c')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index 4a2be16c5..090236858 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -75,8 +75,8 @@ struct dvb_device* dvbdev_find_device (int minor)
list_for_each (entry, &dvb_adapter_list) {
struct list_head *entry0;
- dvb_adapter_t *adap;
- adap = list_entry (entry, dvb_adapter_t, list_head);
+ struct dvb_adapter *adap;
+ adap = list_entry (entry, struct dvb_adapter, list_head);
list_for_each (entry0, &adap->device_list) {
struct dvb_device *dev;
dev = list_entry (entry0, struct dvb_device, list_head);
@@ -177,7 +177,7 @@ int dvb_generic_ioctl(struct inode *inode, struct file *file,
static
-int dvbdev_get_free_id (struct dvb_adapter_s *adap, int type)
+int dvbdev_get_free_id (struct dvb_adapter *adap, int type)
{
u32 id = 0;
@@ -197,7 +197,7 @@ skip:
}
-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)
{
u32 id;
@@ -266,8 +266,8 @@ int dvbdev_get_free_adapter_num (void)
while (1) {
struct list_head *entry;
list_for_each (entry, &dvb_adapter_list) {
- dvb_adapter_t *adap;
- adap = list_entry (entry, dvb_adapter_t, list_head);
+ struct dvb_adapter *adap;
+ adap = list_entry (entry, struct dvb_adapter, list_head);
if (adap->num == num)
goto skip;
}
@@ -280,10 +280,10 @@ skip:
}
-int dvb_register_adapter(dvb_adapter_t **padap, char *name)
+int dvb_register_adapter(struct dvb_adapter **padap, char *name)
{
char dirname[10];
- dvb_adapter_t *adap;
+ struct dvb_adapter *adap;
int num;
if (down_interruptible (&dvbdev_register_lock))
@@ -294,12 +294,12 @@ int dvb_register_adapter(dvb_adapter_t **padap, char *name)
return -ENFILE;
}
- if (!(*padap = adap = kmalloc(sizeof(dvb_adapter_t), GFP_KERNEL))) {
+ if (!(*padap = adap = kmalloc(sizeof(struct dvb_adapter), GFP_KERNEL))) {
up(&dvbdev_register_lock);
return -ENOMEM;
}
- memset (adap, 0, sizeof(dvb_adapter_t));
+ memset (adap, 0, sizeof(struct dvb_adapter));
INIT_LIST_HEAD (&adap->device_list);
MOD_INC_USE_COUNT;
@@ -318,7 +318,7 @@ int dvb_register_adapter(dvb_adapter_t **padap, char *name)
}
-int dvb_unregister_adapter(dvb_adapter_t *adap)
+int dvb_unregister_adapter(struct dvb_adapter *adap)
{
devfs_unregister (adap->devfs_handle);
if (down_interruptible (&dvbdev_register_lock))