Skip to content

Commit eb12a67

Browse files
author
Paul Gortmaker
committed
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>
1 parent 314ef9c commit eb12a67

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎drivers/misc/ab8500-pwm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <linux/pwm.h>
1111
#include <linux/mfd/ab8500.h>
1212
#include <linux/mfd/abx500.h>
13+
#include <linux/module.h>
1314

1415
/*
1516
* PWM Out generators

‎drivers/misc/atmel-ssc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <linux/spinlock.h>
1717
#include <linux/atmel-ssc.h>
1818
#include <linux/slab.h>
19+
#include <linux/module.h>
1920

2021
/* Serialize access to ssc_list and user count */
2122
static DEFINE_SPINLOCK(user_lock);

‎drivers/misc/bh1780gli.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <linux/mutex.h>
2323
#include <linux/platform_device.h>
2424
#include <linux/delay.h>
25+
#include <linux/module.h>
2526

2627
#define BH1780_REG_CONTROL 0x80
2728
#define BH1780_REG_PARTID 0x8A

‎drivers/misc/kgdbts.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
#include <linux/nmi.h>
103103
#include <linux/delay.h>
104104
#include <linux/kthread.h>
105+
#include <linux/module.h>
105106

106107
#define v1printk(a...) do { \
107108
if (verbose) \

‎drivers/misc/ti-st/st_kim.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
#include <linux/skbuff.h>
3737
#include <linux/ti_wilink_st.h>
38+
#include <linux/module.h>
3839

3940

4041
#define MAX_ST_DEVICES 3 /* Imagine 1 on each UART for now */

‎drivers/misc/tifm_7xx1.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <linux/tifm.h>
1313
#include <linux/dma-mapping.h>
14+
#include <linux/module.h>
1415

1516
#define DRIVER_NAME "tifm_7xx1"
1617
#define DRIVER_VERSION "0.8"

‎drivers/misc/tifm_core.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <linux/slab.h>
1414
#include <linux/init.h>
1515
#include <linux/idr.h>
16+
#include <linux/module.h>
1617

1718
#define DRIVER_NAME "tifm_core"
1819
#define DRIVER_VERSION "0.8"

0 commit comments

Comments
 (0)