mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
155e740f73
commit
193979e2fe
2 changed files with 3 additions and 5 deletions
|
@ -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__ */
|
||||
|
|
|
@ -20,6 +20,6 @@ struct s3c_plat_otg_data {
|
|||
unsigned int usb_gusbcfg;
|
||||
};
|
||||
|
||||
extern int s3c_udc_probe(struct s3c_plat_otg_data *pdata);
|
||||
int s3c_udc_probe(struct s3c_plat_otg_data *pdata);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue