From: maxin.john@gmail.com
To: gregkh@linuxfoundation.org, mina86@mina86.com
Cc: matt.fleming@intel.com, matthias.fend@wolfvision.net,
balbi@ti.com, linux-usb@vger.kernel.org, hpa@zytor.com,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
"Maxin B. John" <maxin.john@enea.com>
Subject: [PATCH] tools: usb: ffs-test: Fix build failure
Date: Thu, 21 Feb 2013 01:57:51 +0200 [thread overview]
Message-ID: <1361404671-11713-1-git-send-email-maxin.john@gmail.com> (raw)
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
next reply other threads:[~2013-02-20 23:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-20 23:57 maxin.john [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361404671-11713-1-git-send-email-maxin.john@gmail.com \
--to=maxin.john@gmail.com \
--cc=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=matthias.fend@wolfvision.net \
--cc=maxin.john@enea.com \
--cc=mina86@mina86.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®