Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
{
struct mtd_info *mtd;
struct cafe_priv *cafe;
{
struct mtd_info *mtd;
struct cafe_priv *cafe;
- struct mtd_partition *parts;
+#ifdef CONFIG_MTD_PARTITIONS
+ struct mtd_partition *parts;
+ int nr_parts;
+#endif
/* Very old versions shared the same PCI ident for all three
functions on the chip. Verify the class too... */
/* Very old versions shared the same PCI ident for all three
functions on the chip. Verify the class too... */