USB: usb-hub-driver-improve-use-of-ifdef fix

Fix CONFIG_PM=n build.

Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Andrew Morton 2006-08-14 23:11:02 -07:00 committed by Greg Kroah-Hartman
parent 42d8a2d22b
commit 511366da53

View file

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