summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-11-29 16:14:45 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-02 11:02:21 +0100
commitc3f335370cd4b609589129f14a156cffcd3e4a0b (patch)
tree0ad061a099df65c7fbd8931b2237d5060b6297c6 /drivers/usb
parent9e477e2bd15417542826f045a387c36d1207400e (diff)
downloadbarebox-c3f335370cd4b609589129f14a156cffcd3e4a0b.tar.gz
barebox-c3f335370cd4b609589129f14a156cffcd3e4a0b.tar.xz
usb: usb251xb: depend on OFDEVICE
The usb2551x driver gets all its configuration info from the DT, so there is no point in allowing this driver to be build when probing from DT isn't enabled. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/misc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index 7d6c9da594..270606f50b 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -6,6 +6,7 @@ comment "USB Miscellaneous drivers"
config USB_HUB_USB251XB
bool "USB251XB Hub Controller Configuration Driver"
depends on I2C
+ depends on OFDEVICE
select NLS
help
This option enables support for configuration via SMBus of the