Skip to content
Commit ad7d3144 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen Committed by David Woodhouse
Browse files

[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: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 2a5bd596
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment