diff options
author | Marek Vasut <marex@denx.de> | 2015-12-04 02:21:41 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-17 21:54:40 +0100 |
commit | 193979e2fe7cf75cb7434341562b1da7153750f7 (patch) | |
tree | f2897b0ae5bafb9c1230f4d5d3f91f1ee489965e /drivers | |
parent | 155e740f73b75c34a5f97f57a2d25d069c0f9375 (diff) | |
download | u-boot-imx-193979e2fe7cf75cb7434341562b1da7153750f7.zip u-boot-imx-193979e2fe7cf75cb7434341562b1da7153750f7.tar.gz u-boot-imx-193979e2fe7cf75cb7434341562b1da7153750f7.tar.bz2 |
usb: s3c-otg: Zap useless externs
The extern statements are useless, remove them. Also remove the
extern ... controller, which is completely useless.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/s3c_udc_otg_priv.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/gadget/s3c_udc_otg_priv.h b/drivers/usb/gadget/s3c_udc_otg_priv.h index cc10704..fb3a019 100644 --- a/drivers/usb/gadget/s3c_udc_otg_priv.h +++ b/drivers/usb/gadget/s3c_udc_otg_priv.h @@ -88,13 +88,11 @@ struct dwc2_udc { unsigned req_pending:1, req_std:1; }; -extern struct dwc2_udc *the_controller; - #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN) #define ep_index(EP) ((EP)->bEndpointAddress&0xF) #define ep_maxpacket(EP) ((EP)->ep.maxpacket) -extern void otg_phy_init(struct dwc2_udc *dev); -extern void otg_phy_off(struct dwc2_udc *dev); +void otg_phy_init(struct dwc2_udc *dev); +void otg_phy_off(struct dwc2_udc *dev); #endif /* __S3C_UDC_OTG_PRIV__ */ |