]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: usbip: fix usbip.h path in userspace tool
authorPiotr Król <piotr.krol@3mdeb.com>
Thu, 4 Sep 2014 22:58:02 +0000 (00:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Sep 2014 23:25:30 +0000 (16:25 -0700)
Fixes: 588b48caf65c ("usbip: move usbip userspace code out of staging")
which introduced build failure by not changing uapi/usbip.h include path
according to new location.

Signed-off-by: Piotr Król <piotr.krol@3mdeb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/Kbuild
tools/usb/usbip/libsrc/usbip_common.h

index 24e9033f8b3f9f10fde3467b9122d59c9621edcd..9955c3b0ef9313c1f448fdfcdb24d5b0351ac902 100644 (file)
@@ -395,6 +395,7 @@ header-y += un.h
 header-y += unistd.h
 header-y += unix_diag.h
 header-y += usbdevice_fs.h
+header-y += usbip.h
 header-y += utime.h
 header-y += utsname.h
 header-y += uuid.h
index 5a0e95edf4dfed55288acc59fb9ea88f49f0dcd6..15fe792e1e9655bf35e016f0a4de1a1f72737c7f 100644 (file)
@@ -15,7 +15,7 @@
 #include <syslog.h>
 #include <unistd.h>
 #include <linux/usb/ch9.h>
-#include "../../uapi/usbip.h"
+#include <linux/usbip.h>
 
 #ifndef USBIDS_FILE
 #define USBIDS_FILE "/usr/share/hwdata/usb.ids"