summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-11-21 12:05:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-21 12:08:48 +0100
commitc56443efe14cc1991fcbf52ffba2b6e872b0cf61 (patch)
tree1c106cdbb9e4f9c24393fac1f18e38158ad47bc4 /drivers/usb/musb/Kconfig
parentdef39084c54a0975c745905cd4cf94d1a043bf85 (diff)
downloadbarebox-c56443efe14cc1991fcbf52ffba2b6e872b0cf61.tar.gz
barebox-c56443efe14cc1991fcbf52ffba2b6e872b0cf61.tar.xz
usb: musb: use usb_register_otg_device()
We now have usb_register_otg_device() to register an "otg" device. Use it and drop the custom code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/musb/Kconfig')
-rw-r--r--drivers/usb/musb/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index b795f30275..127d6d1955 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -6,6 +6,7 @@ if USB_MUSB
config USB_MUSB_DSPS
tristate
select OFDEVICE
+ select USB_OTGDEV
config USB_MUSB_AM335X
tristate "AM335x USB support"