diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 10:41:00 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:16:55 -0400 |
commit | 7bce401cc6db5508ef2517e45bd8caf7ce0a15ee (patch) | |
tree | 1372eb8462d2f1c69258bed063ee69ab87706a02 /include | |
parent | dc9e2873b740331b186b8f315fd18bbc97108d2e (diff) |
usb: gadget: drop now unnecessary flag
We don't need the ->register_my_device flag
anymore because all UDC drivers have been
properly converted.
Let's remove every history of it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/gadget.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index fcd9ef8d3f70..2e297e80d59a 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h | |||
@@ -494,9 +494,6 @@ struct usb_gadget_ops { | |||
494 | * only supports HNP on a different root port. | 494 | * only supports HNP on a different root port. |
495 | * @b_hnp_enable: OTG device feature flag, indicating that the A-Host | 495 | * @b_hnp_enable: OTG device feature flag, indicating that the A-Host |
496 | * enabled HNP support. | 496 | * enabled HNP support. |
497 | * @register_my_device: Flag telling udc-core that UDC driver didn't | ||
498 | * register the gadget device to the driver model. Temporary until | ||
499 | * all UDC drivers are fixed up properly. | ||
500 | * @name: Identifies the controller hardware type. Used in diagnostics | 497 | * @name: Identifies the controller hardware type. Used in diagnostics |
501 | * and sometimes configuration. | 498 | * and sometimes configuration. |
502 | * @dev: Driver model state for this abstract device. | 499 | * @dev: Driver model state for this abstract device. |
@@ -534,7 +531,6 @@ struct usb_gadget { | |||
534 | unsigned b_hnp_enable:1; | 531 | unsigned b_hnp_enable:1; |
535 | unsigned a_hnp_support:1; | 532 | unsigned a_hnp_support:1; |
536 | unsigned a_alt_hnp_support:1; | 533 | unsigned a_alt_hnp_support:1; |
537 | unsigned register_my_device:1; | ||
538 | const char *name; | 534 | const char *name; |
539 | struct device dev; | 535 | struct device dev; |
540 | unsigned out_epnum; | 536 | unsigned out_epnum; |