usb: dwc3: dwc3-omap: change probe and remove to uboot init and uboot exit code

Removed probe and remove that are specific to linux and replaced it with
uboot init and uboot exit. These functions will be invoked from boardfile.

This will change once we have dwc3-omap driver adapted to use the uboot
driver model.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
Kishon Vijay Abraham I
2015-02-23 18:40:09 +05:30
committed by Marek Vasut
parent 93c3763810
commit c241d7eee4
2 changed files with 42 additions and 89 deletions

View File

@ -24,4 +24,7 @@ struct dwc3_omap_device {
enum dwc3_omap_utmi_mode utmi_mode;
enum omap_dwc3_vbus_id_status vbus_id_status;
};
int dwc3_omap_uboot_init(struct dwc3_omap_device *dev);
void dwc3_omap_uboot_exit(void);
#endif /* __DWC3_OMAP_UBOOT_H_ */