diff options
author | Andrew Morton <akpm@osdl.org> | 2006-11-28 03:09:22 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 06:05:25 -0500 |
commit | 036171e75ef866b4fd8650c5b890359482ba2a4c (patch) | |
tree | 5d94127c9217d413c81baffcc4166e461f131811 /drivers/media/dvb/ttpci | |
parent | 0b6389ff16d57d8706bb516bde0211207aae73af (diff) |
V4L/DVB: Dvb-budget ci fix
drivers/media/dvb/ttpci/budget-ci.c:220:6: warning: "LINUX_VERSION_CODE" is not defined
drivers/media/dvb/ttpci/budget-ci.c:220:28: warning: "KERNEL_VERSION" is not defined
drivers/media/dvb/ttpci/budget-ci.c:220:42: error: missing binary operator before token "("
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index 8f71124099b0..f793a2741e2d 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -217,11 +217,7 @@ static int msp430_ir_init(struct budget_ci *budget_ci) | |||
217 | input_dev->id.vendor = saa->pci->vendor; | 217 | input_dev->id.vendor = saa->pci->vendor; |
218 | input_dev->id.product = saa->pci->device; | 218 | input_dev->id.product = saa->pci->device; |
219 | } | 219 | } |
220 | # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) | ||
221 | input_dev->cdev.dev = &saa->pci->dev; | 220 | input_dev->cdev.dev = &saa->pci->dev; |
222 | # else | ||
223 | input_dev->dev = &saa->pci->dev; | ||
224 | # endif | ||
225 | 221 | ||
226 | /* Select keymap and address */ | 222 | /* Select keymap and address */ |
227 | switch (budget_ci->budget.dev->pci->subsystem_device) { | 223 | switch (budget_ci->budget.dev->pci->subsystem_device) { |