drivers/media: ir-raw.c needs kmod.h for request_module
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Jul 2011 05:34:32 +0000 (15:34 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:50 +0000 (19:31 -0400)
To fix:

drivers/media/rc/ir-raw.c: In function 'init_decoders':
drivers/media/rc/ir-raw.c:354:2: error: implicit declaration of function 'request_module'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/media/rc/ir-raw.c

index 27808bb59eba3874ee7c1c07f79ba67f82abfd78..37fdbff0051bf7cfc7e893ac4a9b37b35368f322 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <linux/kthread.h>
 #include <linux/mutex.h>
+#include <linux/kmod.h>
 #include <linux/sched.h>
 #include <linux/freezer.h>
 #include "rc-core-priv.h"