diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-03 14:03:12 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:51 -0400 |
commit | 7a707b89202f905bd9f9fbde326933c59a81214c (patch) | |
tree | dbac5d56de8e3a14ca3306d3bdaffb13138def9b /drivers/media/common | |
parent | 35a246363ec41e7b19f7887a97ef3d01ab41356a (diff) |
drivers/media: Add module.h to all files using it implicitly
A pending cleanup will mean that module.h won't be implicitly
everywhere anymore. Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/saa7146_core.c | 1 | ||||
-rw-r--r-- | drivers/media/common/saa7146_fops.c | 1 | ||||
-rw-r--r-- | drivers/media/common/saa7146_video.c | 1 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-types.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/common/saa7146_core.c b/drivers/media/common/saa7146_core.c index 9af2140b57a4..31e53b6a881a 100644 --- a/drivers/media/common/saa7146_core.c +++ b/drivers/media/common/saa7146_core.c | |||
@@ -19,6 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <media/saa7146.h> | 21 | #include <media/saa7146.h> |
22 | #include <linux/module.h> | ||
22 | 23 | ||
23 | LIST_HEAD(saa7146_devices); | 24 | LIST_HEAD(saa7146_devices); |
24 | DEFINE_MUTEX(saa7146_devices_lock); | 25 | DEFINE_MUTEX(saa7146_devices_lock); |
diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c index 1bd3dd762c6b..e4547afcfa88 100644 --- a/drivers/media/common/saa7146_fops.c +++ b/drivers/media/common/saa7146_fops.c | |||
@@ -1,4 +1,5 @@ | |||
1 | #include <media/saa7146_vv.h> | 1 | #include <media/saa7146_vv.h> |
2 | #include <linux/module.h> | ||
2 | 3 | ||
3 | /****************************************************************************/ | 4 | /****************************************************************************/ |
4 | /* resource management functions, shamelessly stolen from saa7134 driver */ | 5 | /* resource management functions, shamelessly stolen from saa7134 driver */ |
diff --git a/drivers/media/common/saa7146_video.c b/drivers/media/common/saa7146_video.c index 9aafa4e969a8..3a00253fe1ee 100644 --- a/drivers/media/common/saa7146_video.c +++ b/drivers/media/common/saa7146_video.c | |||
@@ -1,5 +1,6 @@ | |||
1 | #include <media/saa7146_vv.h> | 1 | #include <media/saa7146_vv.h> |
2 | #include <media/v4l2-chip-ident.h> | 2 | #include <media/v4l2-chip-ident.h> |
3 | #include <linux/module.h> | ||
3 | 4 | ||
4 | static int max_memory = 32; | 5 | static int max_memory = 32; |
5 | 6 | ||
diff --git a/drivers/media/common/tuners/tuner-types.c b/drivers/media/common/tuners/tuner-types.c index 94a603a60842..e13683bab6b3 100644 --- a/drivers/media/common/tuners/tuner-types.c +++ b/drivers/media/common/tuners/tuner-types.c | |||
@@ -5,6 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/i2c.h> | 7 | #include <linux/i2c.h> |
8 | #include <linux/module.h> | ||
8 | #include <media/tuner.h> | 9 | #include <media/tuner.h> |
9 | #include <media/tuner-types.h> | 10 | #include <media/tuner-types.h> |
10 | 11 | ||