[MTD] Don't include linux/mtd/map.h from linux/mtd/physmap.h
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 9 Feb 2007 14:30:29 +0000 (15:30 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 14:40:12 +0000 (14:40 +0000)
commitad7d314480d357db0466bef843cdc1abd9441d4f
treeb4cee54cbc20bed8d49220e45be39462c396d490
parent2a5bd596723e13b3f25b9a7f46e9541577bd42c7
[MTD] Don't include linux/mtd/map.h from linux/mtd/physmap.h

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@atmel.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/mtd/physmap.h