]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP1: Fix compile for 770 without DSP
authorTony Lindgren <tony@atomide.com>
Fri, 18 Jan 2008 18:20:17 +0000 (10:20 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Jan 2008 18:20:17 +0000 (10:20 -0800)
Fix compile for 770 without DSP. Based on a patch against mainline
kernel by Daniel Walker.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-nokia770.c

index 194db4c9dbce3b21d04f6f0fa577e3ffa31efd65..e96d05e36bc12d3a746072dd2814f3d9eeff5492 100644 (file)
@@ -357,6 +357,8 @@ static __init int omap_dsp_init(void)
  out:
        return ret;
 }
+#else
+#define omap_dsp_init()                do {} while (0)
 #endif /* CONFIG_OMAP_DSP */
 
 static void __init omap_nokia770_init(void)