public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] musb_hdrc: Fix compile omap3 boards if CONFIG_PM is not set
@ 2009-04-20 17:15 Tony Lindgren
  0 siblings, 0 replies; only message in thread
From: Tony Lindgren @ 2009-04-20 17:15 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-usb, linux-omap, David Brownell, Felipe Balbi

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]

Hi,

Here's a minimal build fix, please queue.

Regards,

Tony

[-- Attachment #2: musb-fix-compile-no-pm.patch --]
[-- Type: text/x-diff, Size: 858 bytes --]

>From 4b1d3e9c32fb21056a1a8a20374be82e1d97d2c0 Mon Sep 17 00:00:00 2001
From: Tony Lindgren <tony@atomide.com>
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.

Signed-off-by: Tony Lindgren <tony@atomide.com>

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 0112353..6c1cc8e 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -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 = {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-20 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-20 17:15 [PATCH] musb_hdrc: Fix compile omap3 boards if CONFIG_PM is not set Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox