forked from Minki/linux
V4L/DVB (4480): Remove null chars from dvb names
DVB null terminates its device names, which seems odd, and should be unnecessary. Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
ef76856d26
commit
0e367a15ed
@ -2823,7 +2823,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl);
|
||||
|
||||
|
||||
static struct saa7146_extension av7110_extension = {
|
||||
.name = "dvb\0",
|
||||
.name = "dvb",
|
||||
.flags = SAA7146_I2C_SHORT_DELAY,
|
||||
|
||||
.module = THIS_MODULE,
|
||||
|
@ -1153,7 +1153,7 @@ static struct pci_device_id pci_tbl[] = {
|
||||
MODULE_DEVICE_TABLE(pci, pci_tbl);
|
||||
|
||||
static struct saa7146_extension budget_extension = {
|
||||
.name = "budget_ci dvb\0",
|
||||
.name = "budget_ci dvb",
|
||||
.flags = SAA7146_I2C_SHORT_DELAY,
|
||||
|
||||
.module = THIS_MODULE,
|
||||
|
@ -648,7 +648,7 @@ static void __exit budget_patch_exit(void)
|
||||
}
|
||||
|
||||
static struct saa7146_extension budget_extension = {
|
||||
.name = "budget_patch dvb\0",
|
||||
.name = "budget_patch dvb",
|
||||
.flags = 0,
|
||||
|
||||
.module = THIS_MODULE,
|
||||
|
@ -545,7 +545,7 @@ static struct pci_device_id pci_tbl[] = {
|
||||
MODULE_DEVICE_TABLE(pci, pci_tbl);
|
||||
|
||||
static struct saa7146_extension budget_extension = {
|
||||
.name = "budget dvb\0",
|
||||
.name = "budget dvb",
|
||||
.flags = SAA7146_I2C_SHORT_DELAY,
|
||||
|
||||
.module = THIS_MODULE,
|
||||
|
Loading…
Reference in New Issue
Block a user