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

2007-02-09 Thread David Woodhouse
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

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

2007-02-09 Thread Haavard Skinnemoen
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 <[EMAIL PROTECTED]> --- include/linux/mtd/physmap.h |3 ++- 1 file