From: Heiko Schocher Date: Tue, 3 May 2011 14:15:01 +0200 Subject: [U-Boot] [PATCH v2 1/2] cramfs: fix bug in using CONFIG_CRAMFS_CMDLINE In-Reply-To: References: Message-ID: <1304424901-17089-1-git-send-email-hs@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- changes for v2: - added comments from Wolfgang Denk: - new patch in this version - no ifndef around include needed common/cmd_cramfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.7.4.4