[PATCH] ARM: iop: add missing includes

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Feb 15 17:48:14 EST 2012


On Wed, Feb 15, 2012 at 02:24:42PM -0800, Olof Johansson wrote:
> Resolves two build breaks. One is a boatload of "unknown type name 'u32'"
> in iop3xx.h due to missing include of <linux/types.h>.
> 
> The other is:
> arch/arm/plat-iop/restart.c: In function 'iop3xx_restart':
> arch/arm/plat-iop/restart.c:18:2: error: implicit declaration of function 'soft_restart' [-Werror=implicit-function-declaration]

Hmm, I think system.h has become quite a mess over the years.

I should've done something about that with the restart changes, and
created an asm/restart.h - the entire kernel doesn't need to know about
our soft restart stuff.  Looks like there aren't that many users so at
least that kind of cleanup would be relatively simple.



More information about the linux-arm-kernel mailing list