Bladeren bron

usb: usbip: fix usbip.h path in userspace tool

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>
Piotr Król 11 jaren geleden
bovenliggende
commit
6fa9e1be7f
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 0
      include/uapi/linux/Kbuild
  2. 1 1
      tools/usb/usbip/libsrc/usbip_common.h

+ 1 - 0
include/uapi/linux/Kbuild

@@ -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

+ 1 - 1
tools/usb/usbip/libsrc/usbip_common.h

@@ -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"