diff options
author | David Brownell <david-b@pacbell.net> | 2007-05-15 04:36:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-13 01:29:50 +0200 |
commit | a5262dcfda9163ca1f8a64349a6f7ba640ac1dc2 (patch) | |
tree | 268090b3a52fb2a3e3e08b91a934e76558d187f8 /drivers/usb/gadget/inode.c | |
parent | USB: use function attribute __maybe_unused (diff) | |
download | linux-a5262dcfda9163ca1f8a64349a6f7ba640ac1dc2.tar.xz 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/inode.c')
-rw-r--r-- | drivers/usb/gadget/inode.c | 2 |
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> |