diff options
author | Patrick Boettcher <devnull@localhost> | 2005-06-28 21:48:07 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-06-28 21:48:07 +0000 |
commit | 1ef3ff94294f739f71fdad2b1e41e089b09a0508 (patch) | |
tree | ce6a4e42478bf6832b4d337ca13abea16fe14fa2 /linux/drivers/media/dvb/dvb-usb/vp7045.c | |
parent | ba1653056e9ae56393fe9b4a037ba0cced6d1655 (diff) | |
download | mediapointer-dvb-s2-1ef3ff94294f739f71fdad2b1e41e089b09a0508.tar.gz mediapointer-dvb-s2-1ef3ff94294f739f71fdad2b1e41e089b09a0508.tar.bz2 |
Changed the name-field of the pci_driver and usb_driver structs to the name of
the module after compilation. It seems that this field is used in some places
where special characters are not allowed.
Maybe related to: http://www.uwsg.iu.edu/hypermail/linux/kernel/0505.1/0983.html
Thanks to Alan Halverson for finding this problem.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/vp7045.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/vp7045.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/vp7045.c b/linux/drivers/media/dvb/dvb-usb/vp7045.c index 72d5d3f74..5adc5d69e 100644 --- a/linux/drivers/media/dvb/dvb-usb/vp7045.c +++ b/linux/drivers/media/dvb/dvb-usb/vp7045.c @@ -44,7 +44,7 @@ int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, if (usb_control_msg(d->udev, usb_sndctrlpipe(d->udev,0), TH_COMMAND_OUT, USB_TYPE_VENDOR | USB_DIR_OUT, 0, 0, - outbuf, 20, 2*HZ) != 20) { + outbuf, 20, 2000) != 20) { err("USB control message 'out' went wrong."); ret = -EIO; goto unlock; @@ -55,7 +55,7 @@ int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, if (usb_control_msg(d->udev, usb_rcvctrlpipe(d->udev,0), TH_COMMAND_IN, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, - inbuf, 12, 2*HZ) != 12) { + inbuf, 12, 2000) != 12) { err("USB control message 'in' went wrong."); ret = -EIO; goto unlock; @@ -255,7 +255,7 @@ static struct dvb_usb_properties vp7045_properties = { /* usb specific object needed to register this driver with the usb subsystem */ static struct usb_driver vp7045_usb_driver = { .owner = THIS_MODULE, - .name = "dvb-usb-vp7045", + .name = "dvb_usb_vp7045", .probe = vp7045_usb_probe, .disconnect = dvb_usb_device_exit, .id_table = vp7045_usb_table, |