V4L/DVB: ir-core: convert mantis to not use ir-functions.c
authorDavid Härdeman <david@hardeman.nu>
Mon, 7 Jun 2010 19:32:18 +0000 (16:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:53:07 +0000 (14:53 -0300)
Convert drivers/media/dvb/mantis/mantis_input.c to not use ir-functions.c

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_input.c

index 3d4e4663220c21ac08ed31c98542851529be4f8f..a99489b8418b4e49890e1411020367571a63a325 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 #include <linux/input.h>
-#include <media/ir-common.h>
+#include <media/ir-core.h>
 #include <linux/pci.h>
 
 #include "dmxdev.h"
@@ -104,7 +104,6 @@ EXPORT_SYMBOL_GPL(ir_mantis);
 int mantis_input_init(struct mantis_pci *mantis)
 {
        struct input_dev *rc;
-       struct ir_input_state rc_state;
        char name[80], dev[80];
        int err;
 
@@ -120,8 +119,6 @@ int mantis_input_init(struct mantis_pci *mantis)
        rc->name = name;
        rc->phys = dev;
 
-       ir_input_init(rc, &rc_state, IR_TYPE_OTHER);
-
        rc->id.bustype  = BUS_PCI;
        rc->id.vendor   = mantis->vendor_id;
        rc->id.product  = mantis->device_id;