From: Heiko Schocher Date: Tue, 3 May 2011 02:15:01 +0000 (+0000) Subject: cramfs: fix bug in using CONFIG_CRAMFS_CMDLINE X-Git-Tag: v2011.06-rc1~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee8bc961a47563b0e6f92f3843959304a19412dc;p=platform%2Fkernel%2Fu-boot.git cramfs: fix bug in using CONFIG_CRAMFS_CMDLINE do not define own flash_info variable, instead use the flash_info variable defined in your flash driver. Signed-off-by: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel cc: Valentin Longchamp cc: Holger Brunck Signed-off-by: Valentin Longchamp --- diff --git a/common/cmd_cramfs.c b/common/cmd_cramfs.c index 8c86dc5..9060ecc 100644 --- a/common/cmd_cramfs.c +++ b/common/cmd_cramfs.c @@ -43,7 +43,7 @@ #endif #ifdef CONFIG_CRAMFS_CMDLINE -flash_info_t flash_info[1]; +#include #ifndef CONFIG_CMD_JFFS2 #include