Browse Source

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>
Paul Gortmaker 10 years ago
parent
commit
a1a0bec593
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/hsi/controllers/omap_ssi.h

+ 1 - 0
drivers/hsi/controllers/omap_ssi.h

@@ -24,6 +24,7 @@
 #define __LINUX_HSI_OMAP_SSI_H__
 #define __LINUX_HSI_OMAP_SSI_H__
 
 
 #include <linux/device.h>
 #include <linux/device.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 #include <linux/hsi/hsi.h>
 #include <linux/hsi/hsi.h>
 #include <linux/gpio.h>
 #include <linux/gpio.h>