From: Tony Lindgren Date: Thu, 1 Nov 2007 08:28:54 +0000 (-0700) Subject: ARM: OMAP: Fix compile for omap1 X-Git-Tag: v2.6.24-omap1~246 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a3c9da54455c7be9ccb68a6dd4f8bf5de0779ca5;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix compile for omap1 Based on an earlier patch by Luís Vitório Cargnini, add a dummy define for OMAP2_CTRL_BASE. Eventually this will get fixed by setting a base address during boot. Signed-off-by: Tony Lindgren --- diff --git a/include/asm-arm/arch-omap/omap24xx.h b/include/asm-arm/arch-omap/omap24xx.h index 2e944a159ec..48738dc919f 100644 --- a/include/asm-arm/arch-omap/omap24xx.h +++ b/include/asm-arm/arch-omap/omap24xx.h @@ -101,6 +101,9 @@ #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE) #define OMAP2_CTRL_BASE OMAP243X_CTRL_BASE +#else +/* FIXME: These will go away soon */ +#define OMAP2_CTRL_BASE L4_24XX_BASE #endif /* Control module */