diff options
Diffstat (limited to 'payloads/libpayload/drivers/usb/usb.c')
-rw-r--r-- | payloads/libpayload/drivers/usb/usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/libpayload/drivers/usb/usb.c b/payloads/libpayload/drivers/usb/usb.c index 47f8eb6e3a..6b54dbbada 100644 --- a/payloads/libpayload/drivers/usb/usb.c +++ b/payloads/libpayload/drivers/usb/usb.c @@ -464,7 +464,7 @@ set_address (hci_t *controller, int speed, int hubport, int hubaddr) break; case hid_device: usb_debug ("HID\n"); -#ifdef CONFIG_USB_HID +#ifdef CONFIG_LP_USB_HID controller->devices[adr]->init = usb_hid_init; return adr; #else @@ -482,7 +482,7 @@ set_address (hci_t *controller, int speed, int hubport, int hubaddr) break; case msc_device: usb_debug ("MSC\n"); -#ifdef CONFIG_USB_MSC +#ifdef CONFIG_LP_USB_MSC controller->devices[adr]->init = usb_msc_init; return adr; #else @@ -491,7 +491,7 @@ set_address (hci_t *controller, int speed, int hubport, int hubaddr) break; case hub_device: usb_debug ("hub\n"); -#ifdef CONFIG_USB_HUB +#ifdef CONFIG_LP_USB_HUB controller->devices[adr]->init = usb_hub_init; return adr; #else |