]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP2: fix recent build breakage
authorPaul Walmsley <paul@pwsan.com>
Tue, 23 Dec 2008 06:28:10 +0000 (23:28 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Dec 2008 12:29:34 +0000 (14:29 +0200)
Fix recent build breakage.  Boot-tested on N800.

  CC      arch/arm/mach-omap2/devices.o
arch/arm/mach-omap2/devices.c:110: error: 'OMAP34XX_MAILBOX_BASE' undeclared here (not in a function)
arch/arm/mach-omap2/devices.c:115: error: 'INT_34XX_MAIL_U0_MPU' undeclared here (not in a function)
make[1]: *** [arch/arm/mach-omap2/devices.o] Error 1

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
arch/arm/plat-omap/include/mach/omap34xx.h

index 937fb1840b7372126e76761e2a8d18ce820afed5..d7e848e80bf6b27e828a87f84b61f8bd8a775ca0 100644 (file)
@@ -112,7 +112,7 @@ static struct resource omap3_mbox_resources[] = {
                .flags          = IORESOURCE_MEM,
        },
        {
-               .start          = INT_34XX_MAIL_U0_MPU,
+               .start          = INT_24XX_MAIL_U0_MPU,
                .flags          = IORESOURCE_IRQ,
        },
 };
index 2f82e28eda0914450f3a00df11d699859a9afe0d..27a1e45b5d005186858e5bd07b847df0dc2f3b8f 100644 (file)
@@ -56,6 +56,9 @@
 #define OMAP34XX_SR1_BASE      0x480C9000
 #define OMAP34XX_SR2_BASE      0x480CB000
 
+#define OMAP34XX_CAMERA_BASE           (L4_34XX_BASE + 0xBC000)
+#define OMAP34XX_MAILBOX_BASE          (L4_34XX_BASE + 0x94000)
+
 
 #if defined(CONFIG_ARCH_OMAP3430)
 
@@ -63,8 +66,6 @@
 #define OMAP2_CM_BASE                  OMAP3430_CM_BASE
 #define OMAP2_PRM_BASE                 OMAP3430_PRM_BASE
 #define OMAP2_VA_IC_BASE               IO_ADDRESS(OMAP34XX_IC_BASE)
-#define OMAP34XX_CAMERA_BASE           (L4_34XX_BASE + 0xBC000)
-#define OMAP34XX_MAILBOX_BASE          (L4_34XX_BASE + 0x94000)
 
 #endif