]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/cramfs/cramfs.c
Added support for TQM834x boards.
[karo-tx-uboot.git] / fs / cramfs / cramfs.c
index f02bf3c744263121f4f8feaa66446fa97e731e3f..48e7f63aa4d720a272614d0aa29b537bb8ba460d 100644 (file)
@@ -44,7 +44,7 @@ struct cramfs_super super;
 
 /* CPU address space offset calculation macro, struct part_info offset is
  * device address space offset, so we need to shift it by a device start address. */
-extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
+extern flash_info_t flash_info[];
 #define PART_OFFSET(x) (x->offset + flash_info[x->dev->id->num].start[0])
 
 static int cramfs_read_super (struct part_info *info)