Re: [PATCH] mtd/maps/impa7.c fixes

David Woodhouse (dwmw2@infradead.org)
Mon, 23 Jun 2003 12:49:53 +0100


On Sat, 2003-06-21 at 00:57, Andries.Brouwer@cwi.nl wrote:
> I happened to come across mtd/maps/impa7.c.
> It looks like some stuff that needs <linux/mtd/partitions.h>
> occurs outside #ifdef CONFIG_MTD_PARTITIONS.
> Also, there is a spurious #endif.
> Also, there is one of the many redefinitions for ARRAY_SIZE.
> Below a patch.

Thank you. I've applied this and some additional cleanups too -- and
also removed the redefinition of ARRAY_SIZE from other map drivers which
had it.

Compiled but still not tested as I don't have this hardware -- driver
owner Cc'd.

-- 
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/