浏览代码

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.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 10 年之前
父节点
当前提交
7cac34370a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/frv/mb93090-mb00/flash.c

+ 1 - 1
arch/frv/mb93090-mb00/flash.c

@@ -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>