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 <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
This commit is contained in:
Heiko Schocher 2011-05-03 02:15:01 +00:00 committed by Wolfgang Denk
parent 8c65b8a937
commit ee8bc961a4
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#endif
#ifdef CONFIG_CRAMFS_CMDLINE
flash_info_t flash_info[1];
#include <flash.h>
#ifndef CONFIG_CMD_JFFS2
#include <linux/stat.h>