summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
diff options
context:
space:
mode:
authorMichael Brown2015-03-04 18:22:07 +0100
committerMichael Brown2015-03-05 01:57:44 +0100
commit86ae6e6c1836e43993a14db278398fc54e5419bd (patch)
tree92758900be8ba37c36448094747ace0c2f97e13e /src/drivers/bus
parent[build] Remove obsolete and unused portions of config.c (diff)
downloadipxe-86ae6e6c1836e43993a14db278398fc54e5419bd.tar.gz
ipxe-86ae6e6c1836e43993a14db278398fc54e5419bd.tar.xz
ipxe-86ae6e6c1836e43993a14db278398fc54e5419bd.zip
[build] Use REQUIRE_OBJECT() to drag in per-object configuration
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/bus')
-rw-r--r--src/drivers/bus/usb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/bus/usb.c b/src/drivers/bus/usb.c
index af3663eb..91d52b0c 100644
--- a/src/drivers/bus/usb.c
+++ b/src/drivers/bus/usb.c
@@ -1903,5 +1903,8 @@ struct usb_port * usb_root_hub_port ( struct usb_device *usb ) {
return usb->port;
}
+/* Drag in USB configuration */
+REQUIRE_OBJECT ( config_usb );
+
/* Drag in hub driver */
REQUIRE_OBJECT ( usbhub );