diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 17:03:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 17:03:59 -0400 |
commit | cf2fa66055d718ae13e62451bb546505f63906a2 (patch) | |
tree | e206d3f04e74a34e9aa88d21af6c26eea21d4121 /drivers/media/dvb/ttpci/budget-ci.c | |
parent | 4501a466f28788485604ee42641d7a5fe7258d16 (diff) | |
parent | 57f51dbc45f65f7ee1e8c8f77200bb8000e3e271 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (313 commits)
V4L/DVB (9186): Added support for Prof 7300 DVB-S/S2 cards
V4L/DVB (9185): S2API: Ensure we have a reasonable ROLLOFF default
V4L/DVB (9184): cx24116: Change the default SNR units back to percentage by default.
V4L/DVB (9183): S2API: Return error of the caller provides 0 commands.
V4L/DVB (9182): S2API: Added support for DTV_HIERARCHY
V4L/DVB (9181): S2API: Add support fot DTV_GUARD_INTERVAL and DTV_TRANSMISSION_MODE
V4L/DVB (9180): S2API: Added support for DTV_CODE_RATE_HP/LP
V4L/DVB (9179): S2API: frontend.h cleanup
V4L/DVB (9178): cx24116: Add module parameter to return SNR as ESNO.
V4L/DVB (9177): S2API: Change _8PSK / _16APSK to PSK_8 and APSK_16
V4L/DVB (9176): Add support for DvbWorld USB cards with STV0288 demodulator.
V4L/DVB (9175): Remove NULL pointer in stb6000 driver.
V4L/DVB (9174): Allow custom inittab for ST STV0288 demodulator.
V4L/DVB (9173): S2API: Remove the hardcoded command limit during validation
V4L/DVB (9172): S2API: Bugfix related to DVB-S / DVB-S2 tuning for the legacy API.
V4L/DVB (9171): S2API: Stop an OOPS if illegal commands are dumped in S2API.
V4L/DVB (9170): cx24116: Sanity checking to data input via S2API to the cx24116 demod.
V4L/DVB (9169): uvcvideo: Support two new Bison Electronics webcams.
V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote
V4L/DVB: v4l2-dev: remove duplicated #include
...
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-ci.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index 060e7c785326..0a5aad45435d 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -92,6 +92,8 @@ static int ir_debug; | |||
92 | module_param(ir_debug, int, 0644); | 92 | module_param(ir_debug, int, 0644); |
93 | MODULE_PARM_DESC(ir_debug, "enable debugging information for IR decoding"); | 93 | MODULE_PARM_DESC(ir_debug, "enable debugging information for IR decoding"); |
94 | 94 | ||
95 | DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); | ||
96 | |||
95 | struct budget_ci_ir { | 97 | struct budget_ci_ir { |
96 | struct input_dev *dev; | 98 | struct input_dev *dev; |
97 | struct tasklet_struct msp430_irq_tasklet; | 99 | struct tasklet_struct msp430_irq_tasklet; |
@@ -1153,7 +1155,7 @@ static void frontend_init(struct budget_ci *budget_ci) | |||
1153 | } | 1155 | } |
1154 | 1156 | ||
1155 | if (budget_ci->budget.dvb_frontend == NULL) { | 1157 | if (budget_ci->budget.dvb_frontend == NULL) { |
1156 | printk("budget-ci: A frontend driver was not found for device %04x/%04x subsystem %04x/%04x\n", | 1158 | printk("budget-ci: A frontend driver was not found for device [%04x:%04x] subsystem [%04x:%04x]\n", |
1157 | budget_ci->budget.dev->pci->vendor, | 1159 | budget_ci->budget.dev->pci->vendor, |
1158 | budget_ci->budget.dev->pci->device, | 1160 | budget_ci->budget.dev->pci->device, |
1159 | budget_ci->budget.dev->pci->subsystem_vendor, | 1161 | budget_ci->budget.dev->pci->subsystem_vendor, |
@@ -1183,7 +1185,8 @@ static int budget_ci_attach(struct saa7146_dev *dev, struct saa7146_pci_extensio | |||
1183 | 1185 | ||
1184 | dev->ext_priv = budget_ci; | 1186 | dev->ext_priv = budget_ci; |
1185 | 1187 | ||
1186 | err = ttpci_budget_init(&budget_ci->budget, dev, info, THIS_MODULE); | 1188 | err = ttpci_budget_init(&budget_ci->budget, dev, info, THIS_MODULE, |
1189 | adapter_nr); | ||
1187 | if (err) | 1190 | if (err) |
1188 | goto out2; | 1191 | goto out2; |
1189 | 1192 | ||