diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 65720f2bffc8473da183b2b134e12cb03589813e..f5adce049b35ed8351b19c15c4c2518bd86cd5b6 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1895,6 +1895,8 @@ static inline int remote_wakeup(struct usb_device *udev)
 	return 0;
 }
 
+#define hub_suspend NULL
+#define hub_resume NULL
 #endif
 
 void usb_suspend_root_hub(struct usb_device *hdev)