summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2004-03-24 21:43:15 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-03-24 21:43:15 -0800
commitb71db443ea7998de4dfddce7adad640db70f221c (patch)
tree7c68d326de47cec220d40274d2d2f9fa0334d88a /include/linux/buffer_head.h
parentf5cd10245b11f86e5f36c4de86775b39a8f1c634 (diff)
[PATCH] USB: USB gadgets can autoconfigure endpoints
This adds some code that gadget drivers can call from driver initialization, to simplify the "configure against this hardware" step. Add endpoint autoconfiguration for gadget drivers. Endpoint selection is currently being done with conditional compilation. That doesn't look nice, but more importantly it doesn't work well with the model that some distributions won't be custom-matched to hardware. Say, a PDA distro running on iPaq (pxa2xx_udc) or Axim (mq11xx_udc). This code just makes it easier for drivers to match to hardware at run-time. It's a convenience function for something they could have been doing already, but weren't.
Diffstat (limited to 'include/linux/buffer_head.h')
0 files changed, 0 insertions, 0 deletions