summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-01-29 17:11:16 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-02-01 10:05:53 +0100
commit70ec84e1470efeea4ab100513e1241b44aa8c2ff (patch)
tree078e463f2e29b40ae15c6c0ac4a91db98eaf8ab3 /include
parentcec9117d1394c509b34532d0eb1a923a131f6df0 (diff)
downloadbarebox-70ec84e1470efeea4ab100513e1241b44aa8c2ff.tar.gz
barebox-70ec84e1470efeea4ab100513e1241b44aa8c2ff.tar.xz
usb: host: ehci: remove duplicated usb_host_detect() calls
With the last patch adding a fallback detect, we no longer need the duplication in the host controller drivers. Drop them. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/usb/ehci.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/usb/ehci.h b/include/usb/ehci.h
index 9ca9252eb1..327500d49a 100644
--- a/include/usb/ehci.h
+++ b/include/usb/ehci.h
@@ -24,7 +24,6 @@ struct ehci_host;
#ifdef CONFIG_USB_EHCI
struct ehci_host *ehci_register(struct device_d *dev, struct ehci_data *data);
void ehci_unregister(struct ehci_host *);
-int ehci_detect(struct ehci_host *ehci);
#else
static inline struct ehci_host *ehci_register(struct device_d *dev,
struct ehci_data *data)
@@ -35,11 +34,6 @@ static inline struct ehci_host *ehci_register(struct device_d *dev,
static inline void ehci_unregister(struct ehci_host *ehci)
{
}
-
-static inline int ehci_detect(struct ehci_host *ehci)
-{
- return 0;
-}
#endif
#endif /* __USB_EHCI_H */