[2.6.30-rc2][PATCH] USB: musb: fix compile error when CONFIG_PM is not set

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

 



Without this, the commit 0ec8fd70fbd7327e1bf747c4a2f6b67efdf16618 causes
a compile error when CONFIG_PM is not set.

Signed-off-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxx>
Cc: Kim Kyuwon <q1.kim@xxxxxxxxxxx>
---
 drivers/usb/musb/musb_core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 0112353..25bbca8 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2190,8 +2190,8 @@ static int musb_resume_early(struct platform_device *pdev)
 }
 
 #else
-#define	musb_suspend	NULL
-#define	musb_resume	NULL
+#define	musb_suspend		NULL
+#define	musb_resume_early	NULL
 #endif
 
 static struct platform_driver musb_driver = {
-- 
1.6.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux