• R
    [ARM] fix OMAP include loops · cfb41bf7
    Russell King 提交于
    OMAP has two include loops in its header files:
    
      asm-arm/hardware.h <- asm-arm/arch-omap/io.h <-
       asm-arm/arch-omap/hardware.h <- asm-arm/hardware.h
    
      asm-arm/arch-omap/board-palmte.h <-
       asm-arm/arch-omap/hardware.h <- asm-arm/hardware.h <-
       asm-arm/arch-omap/gpio.h <- asm-arm/arch-omap/board-palmte.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 these by removing the offending includes, and add additional
    includes where necessary.
    Acked-by: NTony Lindgren <tony@atomide.com>
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    cfb41bf7
entry-macro.S 2.1 KB