diff options
author | Dave Jones <davej@redhat.com> | 2006-08-07 12:18:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 11:30:31 -0400 |
commit | 0e367a15ed08710098e2ff59aa25cec723c0a9d4 (patch) | |
tree | 23eef4fc0ea1a2943713524310fecfd122debdc4 | |
parent | ef76856d26087f897e163b9fd8b2f7bd0cd54fc7 (diff) |
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>
-rw-r--r-- | drivers/media/dvb/ttpci/av7110.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/budget-patch.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/budget.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index ff6ad04132fe..57a101414307 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c | |||
@@ -2823,7 +2823,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl); | |||
2823 | 2823 | ||
2824 | 2824 | ||
2825 | static struct saa7146_extension av7110_extension = { | 2825 | static struct saa7146_extension av7110_extension = { |
2826 | .name = "dvb\0", | 2826 | .name = "dvb", |
2827 | .flags = SAA7146_I2C_SHORT_DELAY, | 2827 | .flags = SAA7146_I2C_SHORT_DELAY, |
2828 | 2828 | ||
2829 | .module = THIS_MODULE, | 2829 | .module = THIS_MODULE, |
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index 2c4089cab60a..2a2e9b400613 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -1153,7 +1153,7 @@ static struct pci_device_id pci_tbl[] = { | |||
1153 | MODULE_DEVICE_TABLE(pci, pci_tbl); | 1153 | MODULE_DEVICE_TABLE(pci, pci_tbl); |
1154 | 1154 | ||
1155 | static struct saa7146_extension budget_extension = { | 1155 | static struct saa7146_extension budget_extension = { |
1156 | .name = "budget_ci dvb\0", | 1156 | .name = "budget_ci dvb", |
1157 | .flags = SAA7146_I2C_SHORT_DELAY, | 1157 | .flags = SAA7146_I2C_SHORT_DELAY, |
1158 | 1158 | ||
1159 | .module = THIS_MODULE, | 1159 | .module = THIS_MODULE, |
diff --git a/drivers/media/dvb/ttpci/budget-patch.c b/drivers/media/dvb/ttpci/budget-patch.c index d043e1f50d92..fc1267b8c892 100644 --- a/drivers/media/dvb/ttpci/budget-patch.c +++ b/drivers/media/dvb/ttpci/budget-patch.c | |||
@@ -648,7 +648,7 @@ static void __exit budget_patch_exit(void) | |||
648 | } | 648 | } |
649 | 649 | ||
650 | static struct saa7146_extension budget_extension = { | 650 | static struct saa7146_extension budget_extension = { |
651 | .name = "budget_patch dvb\0", | 651 | .name = "budget_patch dvb", |
652 | .flags = 0, | 652 | .flags = 0, |
653 | 653 | ||
654 | .module = THIS_MODULE, | 654 | .module = THIS_MODULE, |
diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c index 886eb6a277c7..e58f0391e9d1 100644 --- a/drivers/media/dvb/ttpci/budget.c +++ b/drivers/media/dvb/ttpci/budget.c | |||
@@ -545,7 +545,7 @@ static struct pci_device_id pci_tbl[] = { | |||
545 | MODULE_DEVICE_TABLE(pci, pci_tbl); | 545 | MODULE_DEVICE_TABLE(pci, pci_tbl); |
546 | 546 | ||
547 | static struct saa7146_extension budget_extension = { | 547 | static struct saa7146_extension budget_extension = { |
548 | .name = "budget dvb\0", | 548 | .name = "budget dvb", |
549 | .flags = SAA7146_I2C_SHORT_DELAY, | 549 | .flags = SAA7146_I2C_SHORT_DELAY, |
550 | 550 | ||
551 | .module = THIS_MODULE, | 551 | .module = THIS_MODULE, |