Message ID | 1512017127-10986-4-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 0faef2eba946a95f9c78d2b3db47e15bac04b52e |
Headers | show |
Series | [1/4] mtd: nand: Rename nand.h into rawnand.h | expand |
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 8ff2d09..3a67653 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -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"
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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)