summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-07-29 07:34:32 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:50 +0100
commitdff65de26ba8128f051799fd6c3660c7162eefc1 (patch)
treea57ee73838a072d7088fca82e00cffb8fa55ac54 /drivers
parentdrivers/leds: Add export.h for THIS_MODULE to leds-cobalt-raq.c (diff)
downloadlinux-dff65de26ba8128f051799fd6c3660c7162eefc1.tar.xz
linux-dff65de26ba8128f051799fd6c3660c7162eefc1.zip
drivers/media: ir-raw.c needs kmod.h for request_module
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/rc/ir-raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/ir-raw.c b/drivers/media/rc/ir-raw.c
index 27808bb59eba..37fdbff0051b 100644
--- a/drivers/media/rc/ir-raw.c
+++ b/drivers/media/rc/ir-raw.c
@@ -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"