Re: [PATCH] Don't include linux/mtd/map.h from linux/mtd/physmap.h

From: David Woodhouse
Date: Fri Feb 09 2007 - 10:08:20 EST


On Fri, 2007-02-09 at 15:30 +0100, Haavard Skinnemoen wrote:
> Replace the inclusion of linux/mtd/map.h with a forward-declaration
> of struct map_info. This allows linux/mtd/physmap.h to be included by
> e.g. board code even if the MTD subsystem is disabled.
>
> Signed-off-by: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

Applied; thanks.

--
dwmw2

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