[PATCH] ARM: move mem_type's real definition to asm/mach/map.h

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Mar 5 12:37:39 EST 2012


On Tue, Mar 06, 2012 at 12:07:16AM -0500, Huang Shijie wrote:
> If we use the mem_type in the driver. We will meet the compiler error:
> "error: dereferencing pointer to incomplete type"

That's a hint - you're not supposed to be using anything within this
type.  That's why it's *not* in map.h and its private to arch/arm/mm.



More information about the linux-arm-kernel mailing list