Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41309
b: refs/heads/master
c: db06350
h: refs/heads/master
i:
  41307: 2257d60
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent 910b2b7 commit 78385bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a5c7b42d3c7b1e0085d48414ee73003d3888d1f
refs/heads/master: db063507b40664de33a61161c90358fe6fc9565a
16 changes: 8 additions & 8 deletions trunk/drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,6 @@ static void ksuspend_usb_cleanup(void)
destroy_workqueue(ksuspend_usb_wq);
}

#else

#define ksuspend_usb_init() 0
#define ksuspend_usb_cleanup() do {} while (0)

#endif

#ifdef CONFIG_USB_SUSPEND

/* usb_autosuspend_work - callback routine to autosuspend a USB device */
Expand All @@ -225,7 +218,14 @@ static void usb_autosuspend_work(void *_udev)
static void usb_autosuspend_work(void *_udev)
{}

#endif
#endif /* CONFIG_USB_SUSPEND */

#else

#define ksuspend_usb_init() 0
#define ksuspend_usb_cleanup() do {} while (0)

#endif /* CONFIG_PM */

/**
* usb_alloc_dev - usb device constructor (usbcore-internal)
Expand Down

0 comments on commit 78385bb

Please sign in to comment.