summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/usbip_common.h
diff options
context:
space:
mode:
authorPawel Lebioda <pawel.lebioda89@gmail.com>2014-05-14 19:20:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-24 01:59:36 +0900
commit3eed8c0387106535cade04357040a37a4c8c4cc6 (patch)
treeddc9540d273db72db79d738fbae078c918bacc9c /drivers/staging/usbip/usbip_common.h
parentac082bc52dd197ee7fbc1271f17cea63615b239f (diff)
Staging: usbip: missing a blank lines after declarations
Fix "Missing a blank line after declaration" style problems for all files in drivers/staging/usbip. Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip/usbip_common.h')
-rw-r--r--drivers/staging/usbip/usbip_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/usbip/usbip_common.h b/drivers/staging/usbip/usbip_common.h
index f555d834f134..4da3866a037d 100644
--- a/drivers/staging/usbip/usbip_common.h
+++ b/drivers/staging/usbip/usbip_common.h
@@ -321,12 +321,14 @@ int usbip_event_happened(struct usbip_device *ud);
static inline int interface_to_busnum(struct usb_interface *interface)
{
struct usb_device *udev = interface_to_usbdev(interface);
+
return udev->bus->busnum;
}
static inline int interface_to_devnum(struct usb_interface *interface)
{
struct usb_device *udev = interface_to_usbdev(interface);
+
return udev->devnum;
}