gpio.h interaction with other headers issue on pxa (maybe arm in general?)

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Apr 6 21:23:34 EDT 2011


On Wed, Apr 06, 2011 at 03:11:01PM +0100, Jonathan Cameron wrote:

Reflowed into 80 columns for legibility:

> Simply reorder the header includes to have kernel.h before gpio.h
> fixes this, but is it an indication of an underlying problem that
> should have a more general fix?

Seems like a standard missing include issue.  If the GPIO headers need
kernel.h they should include it directly rather than relying on the
other files pulling it in.



More information about the linux-arm-kernel mailing list