]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB: Dvb-budget ci fix
authorAndrew Morton <akpm@osdl.org>
Tue, 28 Nov 2006 08:09:22 +0000 (05:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 11:05:25 +0000 (09:05 -0200)
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>
drivers/media/dvb/ttpci/budget-ci.c

index 8f71124099b099cf06bfff25f20265e1aa41215e..f793a2741e2d63af33264a27f86e939b507d1c07 100644 (file)
@@ -217,11 +217,7 @@ static int msp430_ir_init(struct budget_ci *budget_ci)
                input_dev->id.vendor = saa->pci->vendor;
                input_dev->id.product = saa->pci->device;
        }
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
        input_dev->cdev.dev = &saa->pci->dev;
-# else
-       input_dev->dev = &saa->pci->dev;
-# endif
 
        /* Select keymap and address */
        switch (budget_ci->budget.dev->pci->subsystem_device) {