Skip to contentSkip to conversation

frv: add module.h to mb93090-mb00/flash.c to avoid compile fail

PATCH New Paul Gortmaker 1 participant 1 message Jun 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 frv: add module.h to mb93090-mb00/flash.c to avoid compile fail

This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future.

---

[will append to "Fix implicit includes of <module.h> that will break." series
https://lkml.kernel.org/r/[email protected]
has the original posting of it. ]

 arch/frv/mb93090-mb00/flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/frv/mb93090-mb00/flash.c +1 -1
index c0e3707c2299..e1cf802d1639 100644
@@ -9,7 +9,7 @@
  * 2 of the Licence, or (at your option) any later version.
  */
 
-#include <linux/init.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
Signature · 1 line
2.2.1