]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 65720f2bffc8473da183b2b134e12cb03589813e..f5adce049b35ed8351b19c15c4c2518bd86cd5b6 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)