Index: uspace/lib/usb/include/usb/classes/hub.h
===================================================================
--- uspace/lib/usb/include/usb/classes/hub.h	(revision b4b534ac1d1515633baff0d563e9c16938bfe19f)
+++ uspace/lib/usb/include/usb/classes/hub.h	(revision bdfdc51cf6c5f6efd8f390b380b3a7ea368992af)
@@ -110,4 +110,5 @@
 	 */
 	uint8_t characteristics;
+
 #define HUB_CHAR_POWER_PER_PORT_FLAG    (1 << 0)
 #define HUB_CHAR_NO_POWER_SWITCH_FLAG   (1 << 1)
@@ -196,5 +197,5 @@
  */
 /* 7 (basic size) + 2*32 (port bitmasks) */
-#define USB_HUB_MAX_DESCRIPTOR_SIZE (7 + 2 * 32)
+#define USB_HUB_MAX_DESCRIPTOR_SIZE  (7 + 2 * 32)
 
 #endif
Index: uspace/lib/usb/include/usb/debug.h
===================================================================
--- uspace/lib/usb/include/usb/debug.h	(revision b4b534ac1d1515633baff0d563e9c16938bfe19f)
+++ uspace/lib/usb/include/usb/debug.h	(revision bdfdc51cf6c5f6efd8f390b380b3a7ea368992af)
@@ -38,5 +38,4 @@
 #include <sys/types.h>
 #include <io/log.h>
-
 
 void usb_dump_standard_descriptor(FILE *, const char *, const char *,
Index: uspace/lib/usb/include/usb/descriptor.h
===================================================================
--- uspace/lib/usb/include/usb/descriptor.h	(revision b4b534ac1d1515633baff0d563e9c16938bfe19f)
+++ uspace/lib/usb/include/usb/descriptor.h	(revision bdfdc51cf6c5f6efd8f390b380b3a7ea368992af)
@@ -45,5 +45,5 @@
 	USB_DESCTYPE_INTERFACE = 4,
 	USB_DESCTYPE_ENDPOINT = 5,
-	/* New in USB2.0 */
+	/* New in USB 2.0 */
 	USB_DESCTYPE_DEVICE_QUALIFIER = 6,
 	USB_DESCTYPE_OTHER_SPEED_CONFIGURATION = 7,
@@ -202,4 +202,5 @@
 	 * HS INT and ISO transfers. */
 	uint16_t max_packet_size;
+
 #define ED_MPS_PACKET_SIZE_MASK  0x3ff
 #define ED_MPS_PACKET_SIZE_GET(value) \
@@ -207,4 +208,5 @@
 #define ED_MPS_TRANS_OPPORTUNITIES_GET(value) \
 	((((value) >> 10) & 0x3) + 1)
+
 	/** Polling interval in milliseconds.
 	 * Ignored for bulk and control endpoints.
Index: uspace/lib/usb/include/usb/dev.h
===================================================================
--- uspace/lib/usb/include/usb/dev.h	(revision b4b534ac1d1515633baff0d563e9c16938bfe19f)
+++ uspace/lib/usb/include/usb/dev.h	(revision bdfdc51cf6c5f6efd8f390b380b3a7ea368992af)
@@ -26,10 +26,13 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /** @addtogroup libusb
  * @{
  */
+
 /** @file
  * Common USB types and functions.
  */
+
 #ifndef LIBUSB_DEV_H_
 #define LIBUSB_DEV_H_
@@ -37,6 +40,8 @@
 #include <devman.h>
 
-int usb_resolve_device_handle(const char *, devman_handle_t *);
+extern int usb_resolve_device_handle(const char *, devman_handle_t *);
+
 #endif
+
 /**
  * @}
Index: uspace/lib/usb/include/usb/usb.h
===================================================================
--- uspace/lib/usb/include/usb/usb.h	(revision b4b534ac1d1515633baff0d563e9c16938bfe19f)
+++ uspace/lib/usb/include/usb/usb.h	(revision bdfdc51cf6c5f6efd8f390b380b3a7ea368992af)
@@ -114,4 +114,5 @@
 /** Default USB address. */
 #define USB_ADDRESS_DEFAULT 0
+
 /** Maximum address number in USB 1.1. */
 #define USB11_ADDRESS_MAX 127
@@ -121,5 +122,7 @@
  *
  * @param ep USB address.
+ *
  * @return True, if value is wihtin limits, false otherwise.
+ *
  */
 static inline bool usb_address_is_valid(usb_address_t a)
@@ -135,4 +138,5 @@
 /** Default control endpoint */
 #define USB_ENDPOINT_DEFAULT_CONTROL 0
+
 /** Maximum endpoint number in USB 1.1. */
 #define USB11_ENDPOINT_MAX 16
@@ -141,5 +145,7 @@
  *
  * @param ep USB endpoint number.
+ *
  * @return True, if value is wihtin limits, false otherwise.
+ *
  */
 static inline bool usb_endpoint_is_valid(usb_endpoint_t ep)
@@ -160,5 +166,4 @@
 	uint32_t packed;
 } usb_target_t;
-
 
 /** Check USB target for allowed values (address and endpoint).
Index: uspace/lib/usb/src/usb.c
===================================================================
--- uspace/lib/usb/src/usb.c	(revision b4b534ac1d1515633baff0d563e9c16938bfe19f)
+++ uspace/lib/usb/src/usb.c	(revision bdfdc51cf6c5f6efd8f390b380b3a7ea368992af)
@@ -121,7 +121,9 @@
  *
  * @param[in] requst Setup requst data.
+ *
  * @retval -1 No endpoints need reset.
  * @retval 0 All endpoints need reset.
  * @retval >0 Specified endpoint needs reset.
+ *
  */
 int usb_request_needs_toggle_reset(
