aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_port.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r--sys/dev/usb/usb_port.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 2e8633811c25..e6d266c57519 100644
--- a/sys/dev/usb/usb_port.h
+++ b/sys/dev/usb/usb_port.h
@@ -169,9 +169,8 @@ __CONCAT(dname,_detach)(self, flags) \
#define uhidpoll uhidselect
#define ugenpoll ugenselect
-#define powerhook_establish(fn, sc) 0
-#define powerhook_disestablish(hdl)
#define PWR_RESUME 0
+#define PWR_SUSPEND 1
typedef struct device device_ptr_t;
#define USBBASEDEVICE struct device
@@ -291,10 +290,8 @@ __CONCAT(dname,_detach)(self, flags) \
#define clalloc(p, s, x) (clist_alloc_cblocks((p), (s), (s)), 0)
#define clfree(p) clist_free_cblocks((p))
-#define powerhook_establish(fn, sc) 0
-#define powerhook_disestablish(hdl)
-#define PWR_SUSPEND 1
#define PWR_RESUME 0
+#define PWR_SUSPEND 1
#define USB_DECLARE_DRIVER_INIT(dname, init...) \
static device_probe_t __CONCAT(dname,_match); \