diff options
author | Florian Schirmer <devnull@localhost> | 2003-01-18 22:52:32 +0000 |
---|---|---|
committer | Florian Schirmer <devnull@localhost> | 2003-01-18 22:52:32 +0000 |
commit | 61cd7aec20f35a1dc21acd4cac05d5a8bafef9b5 (patch) | |
tree | 03b0c88900edf3a6496defb38e267bbcfd4afa8c /linux/drivers/media/dvb/dvb-core/dvbdev.c | |
parent | 2f28f60479940143524a333917f6ef4e6bacbcb8 (diff) | |
download | mediapointer-dvb-s2-61cd7aec20f35a1dc21acd4cac05d5a8bafef9b5.tar.gz mediapointer-dvb-s2-61cd7aec20f35a1dc21acd4cac05d5a8bafef9b5.tar.bz2 |
- add name field to struct dvb_adapter
- make it a const char* pointer
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvbdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c index e858b3945..d3a9ca092 100644 --- a/linux/drivers/media/dvb/dvb-core/dvbdev.c +++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c @@ -279,7 +279,7 @@ skip: } -int dvb_register_adapter(struct dvb_adapter **padap, char *name) +int dvb_register_adapter(struct dvb_adapter **padap, const char *name) { char dirname[10]; struct dvb_adapter *adap; @@ -308,6 +308,7 @@ int dvb_register_adapter(struct dvb_adapter **padap, char *name) sprintf(dirname, "adapter%d", num); adap->devfs_handle = devfs_mk_dir(dvb_devfs_handle, dirname, NULL); adap->num = num; + adap->name = name; list_add_tail (&adap->list_head, &dvb_adapter_list); |