[DVB patch 2/3] fix kobject names (no slashes)

From: Johannes Stezenbach
Date: Tue Jul 12 2005 - 04:33:58 EST


From: Julian Scheel <julian@xxxxxxxx>

The / in the driver name (budget dvb /w video in) is not a valid character for
device names - removed it, now it works!

Same for ttusb-budget.

Signed-off-by: Patrick Boettcher <pb@xxxxxxxxxxx>
Signed-off-by: Julian Scheel <julian@xxxxxxxx>
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>

drivers/media/dvb/ttpci/budget-av.c | 2 +-
drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.13-rc2-mm1/drivers/media/dvb/ttpci/budget-av.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/drivers/media/dvb/ttpci/budget-av.c 2005-07-11 21:29:46.000000000 +0200
+++ linux-2.6.13-rc2-mm1/drivers/media/dvb/ttpci/budget-av.c 2005-07-12 02:53:19.000000000 +0200
@@ -1022,7 +1022,7 @@ static struct pci_device_id pci_tbl[] =
MODULE_DEVICE_TABLE(pci, pci_tbl);

static struct saa7146_extension budget_extension = {
- .name = "budget dvb /w video in\0",
+ .name = "budget_av",
.pci_tbl = pci_tbl,

.module = THIS_MODULE,
Index: linux-2.6.13-rc2-mm1/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c 2005-07-11 21:29:47.000000000 +0200
+++ linux-2.6.13-rc2-mm1/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c 2005-07-12 02:53:19.000000000 +0200
@@ -1626,7 +1626,7 @@ static struct usb_device_id ttusb_table[
MODULE_DEVICE_TABLE(usb, ttusb_table);

static struct usb_driver ttusb_driver = {
- .name = "Technotrend/Hauppauge USB-Nova",
+ .name = "ttusb",
.probe = ttusb_probe,
.disconnect = ttusb_disconnect,
.id_table = ttusb_table,

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/