mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
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>
This commit is contained in:
parent
314ef9cb52
commit
eb12a679b2
@ -10,6 +10,7 @@
|
|||||||
#include <linux/pwm.h>
|
#include <linux/pwm.h>
|
||||||
#include <linux/mfd/ab8500.h>
|
#include <linux/mfd/ab8500.h>
|
||||||
#include <linux/mfd/abx500.h>
|
#include <linux/mfd/abx500.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PWM Out generators
|
* PWM Out generators
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
#include <linux/atmel-ssc.h>
|
#include <linux/atmel-ssc.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
/* Serialize access to ssc_list and user count */
|
/* Serialize access to ssc_list and user count */
|
||||||
static DEFINE_SPINLOCK(user_lock);
|
static DEFINE_SPINLOCK(user_lock);
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
#define BH1780_REG_CONTROL 0x80
|
#define BH1780_REG_CONTROL 0x80
|
||||||
#define BH1780_REG_PARTID 0x8A
|
#define BH1780_REG_PARTID 0x8A
|
||||||
|
@ -102,6 +102,7 @@
|
|||||||
#include <linux/nmi.h>
|
#include <linux/nmi.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/kthread.h>
|
#include <linux/kthread.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
#define v1printk(a...) do { \
|
#define v1printk(a...) do { \
|
||||||
if (verbose) \
|
if (verbose) \
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include <linux/skbuff.h>
|
#include <linux/skbuff.h>
|
||||||
#include <linux/ti_wilink_st.h>
|
#include <linux/ti_wilink_st.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
|
|
||||||
#define MAX_ST_DEVICES 3 /* Imagine 1 on each UART for now */
|
#define MAX_ST_DEVICES 3 /* Imagine 1 on each UART for now */
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include <linux/tifm.h>
|
#include <linux/tifm.h>
|
||||||
#include <linux/dma-mapping.h>
|
#include <linux/dma-mapping.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
#define DRIVER_NAME "tifm_7xx1"
|
#define DRIVER_NAME "tifm_7xx1"
|
||||||
#define DRIVER_VERSION "0.8"
|
#define DRIVER_VERSION "0.8"
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/idr.h>
|
#include <linux/idr.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
#define DRIVER_NAME "tifm_core"
|
#define DRIVER_NAME "tifm_core"
|
||||||
#define DRIVER_VERSION "0.8"
|
#define DRIVER_VERSION "0.8"
|
||||||
|
Loading…
Reference in New Issue
Block a user