[ARM] fix AT91 include loops
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 1 Jun 2008 10:19:33 +0000 (11:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jun 2008 10:19:54 +0000 (11:19 +0100)
commitee48a75c95145bf6af3be329cd7cbbca2ec89a2a
treedb0949d7067c79b444961b2f21b8cd42f523b4e4
parent1beee8dc8cf58e3f605bd7b34d7a39939be7d8d2
[ARM] fix AT91 include loops

AT91 has one include loop in its header files:

  include/asm-arm/io.h <- include/asm-arm/arch-at91/io.h <-
   include/asm-arm/io.h

Circular include dependencies are dangerous since they can result in
inconsistent definitions being provided to other code, especially if
'#ifndef' constructs are used.

Solve this by removing the offending includes.  Built tested using my
AT91 configuration.

Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-at91/io.h