From: Andrew Morton Date: Tue, 15 Aug 2006 06:11:02 +0000 (-0700) Subject: USB: usb-hub-driver-improve-use-of-ifdef fix X-Git-Tag: v3.12-rc1~33671^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=511366da534bad226e89d294c3b3e910a2aaba6b;p=kernel%2Fkernel-generic.git USB: usb-hub-driver-improve-use-of-ifdef fix Fix CONFIG_PM=n build. Cc: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 65720f2..f5adce0 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)