Commit
eb12a679b242c03b9eaa38a67cae9fa3e17ddea6
drivers/misc: Add module.h to files who are really modular.
These files really need the full module.h header file present, but
were just getting it implicitly before. Fix it up in advance so we
avoid build failures once the cleanup commit is present.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Showing
7 changed files
with
7 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -10,6 +10,7 @@ |
10
|
10 |
#include <linux/pwm.h> |
11
|
11 |
#include <linux/mfd/ab8500.h> |
12
|
12 |
#include <linux/mfd/abx500.h> |
|
13 |
+#include <linux/module.h> |
13
|
14 |
|
14
|
15 |
/* |
15
|
16 |
* PWM Out generators |
... |
... |
@@ -16,6 +16,7 @@ |
16
|
16 |
#include <linux/spinlock.h> |
17
|
17 |
#include <linux/atmel-ssc.h> |
18
|
18 |
#include <linux/slab.h> |
|
19 |
+#include <linux/module.h> |
19
|
20 |
|
20
|
21 |
/* Serialize access to ssc_list and user count */ |
21
|
22 |
static DEFINE_SPINLOCK(user_lock); |
... |
... |
@@ -22,6 +22,7 @@ |
22
|
22 |
#include <linux/mutex.h> |
23
|
23 |
#include <linux/platform_device.h> |
24
|
24 |
#include <linux/delay.h> |
|
25 |
+#include <linux/module.h> |
25
|
26 |
|
26
|
27 |
#define BH1780_REG_CONTROL 0x80 |
27
|
28 |
#define BH1780_REG_PARTID 0x8A |
... |
... |
@@ -102,6 +102,7 @@ |
102
|
102 |
#include <linux/nmi.h> |
103
|
103 |
#include <linux/delay.h> |
104
|
104 |
#include <linux/kthread.h> |
|
105 |
+#include <linux/module.h> |
105
|
106 |
|
106
|
107 |
#define v1printk(a...) do { \ |
107
|
108 |
if (verbose) \ |
... |
... |
@@ -35,6 +35,7 @@ |
35
|
35 |
|
36
|
36 |
#include <linux/skbuff.h> |
37
|
37 |
#include <linux/ti_wilink_st.h> |
|
38 |
+#include <linux/module.h> |
38
|
39 |
|
39
|
40 |
|
40
|
41 |
#define MAX_ST_DEVICES 3 /* Imagine 1 on each UART for now */ |
... |
... |
@@ -11,6 +11,7 @@ |
11
|
11 |
|
12
|
12 |
#include <linux/tifm.h> |
13
|
13 |
#include <linux/dma-mapping.h> |
|
14 |
+#include <linux/module.h> |
14
|
15 |
|
15
|
16 |
#define DRIVER_NAME "tifm_7xx1" |
16
|
17 |
#define DRIVER_VERSION "0.8" |
... |
... |
@@ -13,6 +13,7 @@ |
13
|
13 |
#include <linux/slab.h> |
14
|
14 |
#include <linux/init.h> |
15
|
15 |
#include <linux/idr.h> |
|
16 |
+#include <linux/module.h> |
16
|
17 |
|
17
|
18 |
#define DRIVER_NAME "tifm_core" |
18
|
19 |
#define DRIVER_VERSION "0.8" |