[PATCH] fix missing includes
[deliverable/linux.git] / drivers / media / common / ir-common.c
index a0e700d7a4a4ad5b5fb6c3ff7b052ff1b0449791..31fccb4f05d6ad8ade936d8b4aec9edaf82bf019 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
+#include <linux/string.h>
 #include <media/ir-common.h>
 
 /* -------------------------------------------------------------------------- */
@@ -252,7 +253,6 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir,
        if (ir_codes)
                memcpy(ir->ir_codes, ir_codes, sizeof(ir->ir_codes));
 
-        init_input_dev(dev);
        dev->keycode     = ir->ir_codes;
        dev->keycodesize = sizeof(IR_KEYTAB_TYPE);
        dev->keycodemax  = IR_KEYTAB_SIZE;
This page took 0.02357 seconds and 5 git commands to generate.