All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools: usb: ffs-test: Fix build failure
@ 2013-02-20 23:57 maxin.john
  2013-02-21  0:06 ` Greg KH
  2013-02-21  6:42 ` Michal Nazarewicz
  0 siblings, 2 replies; 5+ messages in thread
From: maxin.john @ 2013-02-20 23:57 UTC (permalink / raw)
  To: gregkh, mina86
  Cc: matt.fleming, matthias.fend, balbi, linux-usb, hpa, linux-kernel,
	stable, Maxin B. John

From: "Maxin B. John" <maxin.john@enea.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@enea.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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-21  6:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20 23:57 [PATCH] tools: usb: ffs-test: Fix build failure maxin.john
2013-02-21  0:06 ` Greg KH
2013-02-21  0:22   ` Maxin B. John
2013-02-21  6:44     ` Michal Nazarewicz
2013-02-21  6:42 ` Michal Nazarewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.