Skip to content

Commit

Permalink
V4L/DVB (4480): Remove null chars from dvb names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jones authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent ef76856 commit 0e367a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/media/dvb/ttpci/av7110.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/ttpci/budget-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/ttpci/budget-patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/ttpci/budget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0e367a1

Please sign in to comment.