]> err.no Git - linux-2.6/commit
USB: export <linux/usb_gadgetfs> as <linux/usb/gadgetfs.h>
authorDavid Brownell <david-b@pacbell.net>
Tue, 15 May 2007 02:36:41 +0000 (19:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:50 +0000 (16:29 -0700)
commita5262dcfda9163ca1f8a64349a6f7ba640ac1dc2
tree268090b3a52fb2a3e3e08b91a934e76558d187f8
parent8234509c3968a87faa301a8a9d7f8b987cd9181c
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>
drivers/usb/gadget/inode.c
include/linux/usb/Kbuild
include/linux/usb/gadgetfs.h [moved from include/linux/usb_gadgetfs.h with 74% similarity]