From 37c19d25fe21fb00d8ba72e8e8e3d8a2c1a4b6d4 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Fri, 18 Jan 2008 10:20:17 -0800 Subject: [PATCH] ARM: OMAP1: Fix compile for 770 without DSP Fix compile for 770 without DSP. Based on a patch against mainline kernel by Daniel Walker. Signed-off-by: Tony Lindgren --- arch/arm/mach-omap1/board-nokia770.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index 194db4c9dbc..e96d05e36bc 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c @@ -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) -- 2.41.1