From: Tony Lindgren Date: Fri, 18 Jan 2008 18:20:17 +0000 (-0800) Subject: ARM: OMAP1: Fix compile for 770 without DSP X-Git-Tag: v2.6.24-omap1~58 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=37c19d25fe21fb00d8ba72e8e8e3d8a2c1a4b6d4;p=linux-2.6-omap-h63xx.git 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 --- 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)