[PATCH] MUSB: compile fix for !CONFIG_PM

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

 



The recent fix 'USB: musb: fix possible panic while resuming' did not
also update the !CONFIG_PM case resulting in a compile failure.

Cc: Kim Kyuwon <q1.kim@xxxxxxxxxxx>
Cc: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>
---
 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.2

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