diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-06-11 11:12:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-06-13 08:16:48 +0200 |
commit | 5c88c98d524ff9cd7f7fb0fe4782c508917346ec (patch) | |
tree | 92c3e1747ca1a897b6e864388c02bdae2bba5c27 /drivers/usb | |
parent | a8a508270be28d5d234e760cc3406cfad188b1d2 (diff) | |
download | barebox-5c88c98d524ff9cd7f7fb0fe4782c508917346ec.tar.gz barebox-5c88c98d524ff9cd7f7fb0fe4782c508917346ec.tar.xz |
treewide: remove stale mentions of CONFIG_OF in comments
barebox doesn't define a CONFIG_OF kconfig option, but CONFIG_OFTREE
for the device tree handling and CONFIG_OFDEVICE for probing devices
out of the device tree.
Replace comment mentions of CONFIG_OF with mentions of either as
appropriate.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/misc/usb251xb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/usb251xb.c b/drivers/usb/misc/usb251xb.c index 97f55efa82..a7a444e039 100644 --- a/drivers/usb/misc/usb251xb.c +++ b/drivers/usb/misc/usb251xb.c @@ -612,13 +612,13 @@ static const struct of_device_id usb251xb_of_match[] = { /* sentinel */ } }; -#else /* CONFIG_OF */ +#else /* CONFIG_OFDEVICE */ static int usb251xb_get_ofdata(struct usb251xb *hub, struct usb251xb_data *data) { return 0; } -#endif /* CONFIG_OF */ +#endif /* CONFIG_OFDEVICE */ static int usb251xb_probe(struct usb251xb *hub) { |