ir-sanyo-decoder.c doesn't compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get this error when compiling for_v3.3:

drivers/media/rc/ir-sanyo-decoder.c:201:16: error: expected declaration specifiers or ‘...’ before string constant
drivers/media/rc/ir-sanyo-decoder.c:202:15: error: expected declaration specifiers or ‘...’ before string constant
drivers/media/rc/ir-sanyo-decoder.c:203:15: error: expected declaration specifiers or ‘...’ before string constant
drivers/media/rc/ir-sanyo-decoder.c:204:20: error: expected declaration specifiers or ‘...’ before string constant

There is a include <linux/module.h> missing.

This patch fixes this:

diff --git a/drivers/media/rc/ir-sanyo-decoder.c b/drivers/media/rc/ir-sanyo-decoder.c
index 1646730..d38fbdd 100644
--- a/drivers/media/rc/ir-sanyo-decoder.c
+++ b/drivers/media/rc/ir-sanyo-decoder.c
@@ -21,6 +21,7 @@
  * Information for this protocol is available at the Sanyo LC7461 datasheet.
  */
 
+#include <linux/module.h>
 #include <linux/bitrev.h>
 #include "rc-core-priv.h"
 
Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>

Regards,

	Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux