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: v2.6.19-rc1~899^2~45 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=511366da534bad226e89d294c3b3e910a2aaba6b;p=linux-2.6-omap-h63xx.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 65720f2bffc..f5adce049b3 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)