summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-05-02 02:02:30 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2015-06-16 20:12:25 +0200
commita1a0bec593623f49740d7900e4b862c534f219bf (patch)
treebeb55097b3c538e8793bd32ae38a402c3bb7edf0
parentdrivers/gpu: include <module.h> for modular rockchip code (diff)
downloadlinux-a1a0bec593623f49740d7900e4b862c534f219bf.tar.xz
linux-a1a0bec593623f49740d7900e4b862c534f219bf.zip
drivers/hsi: include <module.h> for modular omap_ssi code
These files are built off of a tristate Kconfig option and also contain modular function calls so they should explicitly include module.h to avoid compile breakage during header shuffles done in the future. We change the one header file wich gives us coverage on both files: drivers/hsi/controllers/omap_ssi.c drivers/hsi/controllers/omap_ssi_port.c Cc: Sebastian Reichel <sre@kernel.org> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--drivers/hsi/controllers/omap_ssi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hsi/controllers/omap_ssi.h b/drivers/hsi/controllers/omap_ssi.h
index 9d056417d88c..f9aaf37262be 100644
--- a/drivers/hsi/controllers/omap_ssi.h
+++ b/drivers/hsi/controllers/omap_ssi.h
@@ -24,6 +24,7 @@
#define __LINUX_HSI_OMAP_SSI_H__
#include <linux/device.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/hsi/hsi.h>
#include <linux/gpio.h>