aboutsummaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorTom Rini2022-11-27 10:25:33 -0500
committerTom Rini2022-12-07 16:04:17 -0500
commitb8daa6e9ee079fea7f9772e40b56147274c5726b (patch)
treea09c7deccf5f1d72c65142ed6c919ba894a1b2b3 /include/usb.h
parent0a9cbd4f3c90b8ea7230b8dd0885797c48053a5f (diff)
usb: eth: Remove non-DM_ETH code
As DM_ETH is required for all network drivers, it's now safe to remove the non-DM_ETH support code fro usb_ether itself. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/usb.h b/include/usb.h
index 7e3796bd5ba..80cb8467203 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -809,21 +809,6 @@ struct dm_usb_ops {
#define usb_get_emul_ops(dev) ((struct dm_usb_ops *)(dev)->driver->ops)
/**
- * usb_get_dev_index() - look up a device index number
- *
- * Look up devices using their index number (starting at 0). This works since
- * in U-Boot device addresses are allocated starting at 1 with no gaps.
- *
- * TODO(sjg@chromium.org): Remove this function when usb_ether.c is modified
- * to work better with driver model.
- *
- * @bus: USB bus to check
- * @index: Index number of device to find (0=first). This is just the
- * device address less 1.
- */
-struct usb_device *usb_get_dev_index(struct udevice *bus, int index);
-
-/**
* usb_setup_device() - set up a device ready for use
*
* @dev: USB device pointer. This need not be a real device - it is