[PATCH] musb_hdrc: Fix compile omap3 boards if CONFIG_PM is not set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Here's a minimal build fix, please queue.

Regards,

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

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 = {

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux