summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-05-14 19:36:41 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 16:29:50 -0700
commita5262dcfda9163ca1f8a64349a6f7ba640ac1dc2 (patch)
tree268090b3a52fb2a3e3e08b91a934e76558d187f8 /drivers/usb/gadget
parent8234509c3968a87faa301a8a9d7f8b987cd9181c (diff)
downloadlinux-a5262dcfda9163ca1f8a64349a6f7ba640ac1dc2.tar.gz
linux-a5262dcfda9163ca1f8a64349a6f7ba640ac1dc2.tar.bz2
linux-a5262dcfda9163ca1f8a64349a6f7ba640ac1dc2.zip
USB: export <linux/usb_gadgetfs> as <linux/usb/gadgetfs.h>
Make sure gadgetfs userspace interface is properly exported: - Move <linux/usb_gadgetfs.h> to <linux/usb/gadgetfs.h>; - Export it using Kbuild; - Add an #include guard; - Correct some internal documentation; - Update struct layout so it's the same on 32/64 bit kernels. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c
index 23b439ab774c..f723e083c9d0 100644
--- a/drivers/usb/gadget/inode.c
+++ b/drivers/usb/gadget/inode.c
@@ -37,7 +37,7 @@
#include <linux/device.h>
#include <linux/moduleparam.h>
-#include <linux/usb_gadgetfs.h>
+#include <linux/usb/gadgetfs.h>
#include <linux/usb_gadget.h>