Commit 0e367a15 authored by Dave Jones's avatar Dave Jones Committed by Mauro Carvalho Chehab

V4L/DVB (4480): Remove null chars from dvb names

DVB null terminates its device names, which seems odd, and should be
unnecessary.
Acked-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent ef76856d
...@@ -2823,7 +2823,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl); ...@@ -2823,7 +2823,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl);
static struct saa7146_extension av7110_extension = { static struct saa7146_extension av7110_extension = {
.name = "dvb\0", .name = "dvb",
.flags = SAA7146_I2C_SHORT_DELAY, .flags = SAA7146_I2C_SHORT_DELAY,
.module = THIS_MODULE, .module = THIS_MODULE,
......
...@@ -1153,7 +1153,7 @@ static struct pci_device_id pci_tbl[] = { ...@@ -1153,7 +1153,7 @@ static struct pci_device_id pci_tbl[] = {
MODULE_DEVICE_TABLE(pci, pci_tbl); MODULE_DEVICE_TABLE(pci, pci_tbl);
static struct saa7146_extension budget_extension = { static struct saa7146_extension budget_extension = {
.name = "budget_ci dvb\0", .name = "budget_ci dvb",
.flags = SAA7146_I2C_SHORT_DELAY, .flags = SAA7146_I2C_SHORT_DELAY,
.module = THIS_MODULE, .module = THIS_MODULE,
......
...@@ -648,7 +648,7 @@ static void __exit budget_patch_exit(void) ...@@ -648,7 +648,7 @@ static void __exit budget_patch_exit(void)
} }
static struct saa7146_extension budget_extension = { static struct saa7146_extension budget_extension = {
.name = "budget_patch dvb\0", .name = "budget_patch dvb",
.flags = 0, .flags = 0,
.module = THIS_MODULE, .module = THIS_MODULE,
......
...@@ -545,7 +545,7 @@ static struct pci_device_id pci_tbl[] = { ...@@ -545,7 +545,7 @@ static struct pci_device_id pci_tbl[] = {
MODULE_DEVICE_TABLE(pci, pci_tbl); MODULE_DEVICE_TABLE(pci, pci_tbl);
static struct saa7146_extension budget_extension = { static struct saa7146_extension budget_extension = {
.name = "budget dvb\0", .name = "budget dvb",
.flags = SAA7146_I2C_SHORT_DELAY, .flags = SAA7146_I2C_SHORT_DELAY,
.module = THIS_MODULE, .module = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment