From 203db38a94a424bb1ab6a91e85148e8a8ea795d0 Mon Sep 17 00:00:00 2001 From: Hou Zhiqiang Date: Fri, 17 Mar 2017 16:12:31 +0800 Subject: mtd: nand: remove nand size print from nand_init function Add nand_size() function to move the nand size print into initr_nand(). Remove nand size print from nand_init() to allow other function to call nand_init() without printing nand size. Signed-off-by: Hou Zhiqiang Reviewed-by: York Sun --- include/nand.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/nand.h') diff --git a/include/nand.h b/include/nand.h index b6eb223fb6f..a86552878e9 100644 --- a/include/nand.h +++ b/include/nand.h @@ -28,6 +28,7 @@ #endif extern void nand_init(void); +unsigned long nand_size(void); #include #include -- cgit v1.2.3