[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1361404671-11713-1-git-send-email-maxin.john@gmail.com>
Date: Thu, 21 Feb 2013 01:57:51 +0200
From: maxin.john@...il.com
To: gregkh@...uxfoundation.org, mina86@...a86.com
Cc: matt.fleming@...el.com, matthias.fend@...fvision.net, balbi@...com,
linux-usb@...r.kernel.org, hpa@...or.com,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
"Maxin B. John" <maxin.john@...a.com>
Subject: [PATCH] tools: usb: ffs-test: Fix build failure
From: "Maxin B. John" <maxin.john@...a.com>
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@...a.com>
---
tools/usb/ffs-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c
index 8674b9e..fe1e66b 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 ********************************/
--
1.7.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists