diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 16:17:45 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:16:45 +0200 |
commit | 5637bf5b7a91804fe0230dff70024df078786090 (patch) | |
tree | 6a26abf04a82ce65c10ae340634c784372388a86 /drivers/usb/gadget/goku_udc.h | |
parent | fc84d2fbe776f5352c3a981a5250a3ad83789f72 (diff) | |
download | blackbird-op-linux-5637bf5b7a91804fe0230dff70024df078786090.tar.gz blackbird-op-linux-5637bf5b7a91804fe0230dff70024df078786090.zip |
usb: gadget: goku_udc: let udc-core manage gadget->dev
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/goku_udc.h')
-rw-r--r-- | drivers/usb/gadget/goku_udc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/goku_udc.h b/drivers/usb/gadget/goku_udc.h index b4470d2b1d86..86d2adafe149 100644 --- a/drivers/usb/gadget/goku_udc.h +++ b/drivers/usb/gadget/goku_udc.h @@ -250,8 +250,7 @@ struct goku_udc { got_region:1, req_config:1, configured:1, - enabled:1, - registered:1; + enabled:1; /* pci state used to access those endpoints */ struct pci_dev *pdev; |