summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@enea.com>2013-02-21 00:57:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-07 05:23:17 +0100
commita0f11aceee531d444f58b939e6a537ee5e2b9cc5 (patch)
tree2c56a1eac27c7693f2dcd0a12654fe731ff95b7e
parentUSB: option: add Huawei E5331 (diff)
downloadlinux-a0f11aceee531d444f58b939e6a537ee5e2b9cc5.tar.xz
linux-a0f11aceee531d444f58b939e6a537ee5e2b9cc5.zip
tools: usb: ffs-test: Fix build failure
Fixes this build failure: gcc -Wall -Wextra -g -lpthread -I../include -o testusb testusb.c gcc -Wall -Wextra -g -lpthread -I../include -o ffs-test ffs-test.c In file included from ffs-test.c:41:0: ../../include/linux/usb/functionfs.h:4:39: fatal error: uapi/linux/usb/functionfs.h: No such file or directory compilation terminated. make: *** [ffs-test] Error 1 Signed-off-by: Maxin B. John <maxin.john@enea.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Cc: stable <stable@vger.kernel.org> # 3.7+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--tools/usb/ffs-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c
index 8674b9ec14f6..fe1e66b6ef40 100644
--- a/tools/usb/ffs-test.c
+++ b/tools/usb/ffs-test.c
@@ -38,7 +38,7 @@
#include <unistd.h>
#include <tools/le_byteshift.h>
-#include "../../include/linux/usb/functionfs.h"
+#include "../../include/uapi/linux/usb/functionfs.h"
/******************** Little Endian Handling ********************************/