aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-05-14 22:36:41 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 19:29:50 -0400
commita5262dcfda9163ca1f8a64349a6f7ba640ac1dc2 (patch)
tree268090b3a52fb2a3e3e08b91a934e76558d187f8 /drivers/usb/gadget
parent8234509c3968a87faa301a8a9d7f8b987cd9181c (diff)
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 @@
37#include <linux/device.h> 37#include <linux/device.h>
38#include <linux/moduleparam.h> 38#include <linux/moduleparam.h>
39 39
40#include <linux/usb_gadgetfs.h> 40#include <linux/usb/gadgetfs.h>
41#include <linux/usb_gadget.h> 41#include <linux/usb_gadget.h>
42 42
43 43