]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: nand: denali: consolidate include directives
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 30 Nov 2017 04:45:27 +0000 (13:45 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 Dec 2017 13:00:03 +0000 (22:00 +0900)
Include necessary headers explicitly without relying on indirect
header inclusion.

<common.h>, <malloc.h> are unneeded.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/denali.c

index 8ff2d094226f1e3d8f599d985d4d76682f5141a1..3a67653cb930ad54855801f850de9fb2772da6b5 100644 (file)
@@ -6,14 +6,14 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
-#include <malloc.h>
-#include <nand.h>
 #include <dm.h>
+#include <nand.h>
 #include <linux/bitfield.h>
 #include <linux/dma-direction.h>
 #include <linux/errno.h>
 #include <linux/io.h>
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/rawnand.h>
 
 #include "denali.h"