USB: usb-hub-driver-improve-use-of-ifdef fix
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Aug 2006 06:11:02 +0000 (23:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:55 +0000 (11:58 -0700)
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>
drivers/usb/core/hub.c

index 65720f2..f5adce0 100644 (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)