• T
    ARM: OMAP2+: Fix build error after merge · 2b43e4e5
    Tony Lindgren 提交于
    Commit 9890ce44 (ARM: get rid of asm/irq.h in asm/prom.h)
    removed include of asm/irq.h in asm/prom.h. This commit
    together with recent omap cleanup to remove io.h causes
    build breakage:
    
    arrch/arm/mach-omap2/control.c: In function 'omap3_ctrl_write_boot_mode':
    arch/arm/mach-omap2/control.c:238: error:
    'OMAP343X_CTRL_BASE' undeclared (first use in this function)
    ...
    
    Fix this by including hardware.h directly where needed
    instead of relying on asm/irq.h in asm/prom.h.
    Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    Signed-off-by: NTony Lindgren <tony@atomide.com>
    2b43e4e5
control.c 18.1 KB