Skip to contentSkip to conversation

musb_hdrc: Fix compile omap3 boards if CONFIG_PM is not set

PATCH New Tony Lindgren 1 participant 1 message Apr 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 musb_hdrc: Fix compile omap3 boards if CONFIG_PM is not set

Hi,

Here's a minimal build fix, please queue.

Regards,

Tony

Quoted 1 line

From 4b1d3e9c32fb21056a1a8a20374be82e1d97d2c0 Mon Sep 17 00:00:00 2001

From: Tony Lindgren <[email protected]>
Date: Mon, 20 Apr 2009 10:06:35 -0700
Subject: [PATCH] musb_hdrc: Fix compile omap3 boards if CONFIG_PM is not set

Otherwise we'll get:

drivers/usb/musb/musb_core.c:2206: error: 'musb_resume_early' undeclared here (not in a function)

CONFIG_PM is not merged yet to mainline three for omap3.

drivers/usb/musb/musb_core.c +1 -0
index 0112353..6c1cc8e 100644
@@ -2192,6 +2192,7 @@ static int musb_resume_early(struct platform_device *pdev)
 #else
 #define	musb_suspend	NULL
 #define	musb_resume	NULL
+#define	musb_resume_early	NULL
 #endif
 
 static struct platform_driver musb_driver = {