diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2005-07-07 20:58:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:24:02 -0400 |
commit | 63b5c1c47fd6c5ae26d279756e8a050c721ea379 (patch) | |
tree | 47dca835f850785ac9d2a2caef9fe7d1eea990c3 /drivers/media/dvb/b2c2 | |
parent | d8667cbbe440aacb246832afc217a6a44664115c (diff) |
[PATCH] dvb: usb/pci: correct syntax of driver name fields
Change 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. Thanks to Alan Halverson for
finding this problem.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/b2c2')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-pci.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-usb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-pci.c b/drivers/media/dvb/b2c2/flexcop-pci.c index a436d5584ea6..2f76eb3fea40 100644 --- a/drivers/media/dvb/b2c2/flexcop-pci.c +++ b/drivers/media/dvb/b2c2/flexcop-pci.c | |||
@@ -409,7 +409,7 @@ static struct pci_device_id flexcop_pci_tbl[] = { | |||
409 | MODULE_DEVICE_TABLE(pci, flexcop_pci_tbl); | 409 | MODULE_DEVICE_TABLE(pci, flexcop_pci_tbl); |
410 | 410 | ||
411 | static struct pci_driver flexcop_pci_driver = { | 411 | static struct pci_driver flexcop_pci_driver = { |
412 | .name = "Technisat/B2C2 FlexCop II/IIb PCI", | 412 | .name = "b2c2_flexcop_pci", |
413 | .id_table = flexcop_pci_tbl, | 413 | .id_table = flexcop_pci_tbl, |
414 | .probe = flexcop_pci_probe, | 414 | .probe = flexcop_pci_probe, |
415 | .remove = flexcop_pci_remove, | 415 | .remove = flexcop_pci_remove, |
diff --git a/drivers/media/dvb/b2c2/flexcop-usb.c b/drivers/media/dvb/b2c2/flexcop-usb.c index 0113449abd15..0a78ba3737a5 100644 --- a/drivers/media/dvb/b2c2/flexcop-usb.c +++ b/drivers/media/dvb/b2c2/flexcop-usb.c | |||
@@ -545,7 +545,7 @@ static struct usb_device_id flexcop_usb_table [] = { | |||
545 | /* usb specific object needed to register this driver with the usb subsystem */ | 545 | /* usb specific object needed to register this driver with the usb subsystem */ |
546 | static struct usb_driver flexcop_usb_driver = { | 546 | static struct usb_driver flexcop_usb_driver = { |
547 | .owner = THIS_MODULE, | 547 | .owner = THIS_MODULE, |
548 | .name = "Technisat/B2C2 FlexCop II/IIb/III USB", | 548 | .name = "b2c2_flexcop_usb", |
549 | .probe = flexcop_usb_probe, | 549 | .probe = flexcop_usb_probe, |
550 | .disconnect = flexcop_usb_disconnect, | 550 | .disconnect = flexcop_usb_disconnect, |
551 | .id_table = flexcop_usb_table, | 551 | .id_table = flexcop_usb_table, |