diff options
author | Oliver Neukum <oliver@neukum.org> | 2012-12-17 23:45:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-19 15:46:40 -0500 |
commit | 2dd7c8cf29769f6b66f26b501db2364640c2c9d0 (patch) | |
tree | 4b1e49cc9ff436092fbf086d6748a0cf3f3940c1 /include/linux/usb/usbnet.h | |
parent | a1c088e01b71d90852b0df5a77cdae46bd0e0c05 (diff) |
usbnet: generic manage_power()
Centralise common code for manage_power() in usbnet
by making a generic simple implementation
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/usb/usbnet.h')
-rw-r--r-- | include/linux/usb/usbnet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 288b32aadab2..bd45eb7bedc8 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||
@@ -241,4 +241,6 @@ extern void usbnet_set_msglevel(struct net_device *, u32); | |||
241 | extern void usbnet_get_drvinfo(struct net_device *, struct ethtool_drvinfo *); | 241 | extern void usbnet_get_drvinfo(struct net_device *, struct ethtool_drvinfo *); |
242 | extern int usbnet_nway_reset(struct net_device *net); | 242 | extern int usbnet_nway_reset(struct net_device *net); |
243 | 243 | ||
244 | extern int usbnet_manage_power(struct usbnet *, int); | ||
245 | |||
244 | #endif /* __LINUX_USB_USBNET_H */ | 246 | #endif /* __LINUX_USB_USBNET_H */ |