summaryrefslogtreecommitdiffstats
path: root/include/of_device.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-06-11 11:12:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-13 08:16:48 +0200
commit5c88c98d524ff9cd7f7fb0fe4782c508917346ec (patch)
tree92c3e1747ca1a897b6e864388c02bdae2bba5c27 /include/of_device.h
parenta8a508270be28d5d234e760cc3406cfad188b1d2 (diff)
downloadbarebox-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 'include/of_device.h')
-rw-r--r--include/of_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/of_device.h b/include/of_device.h
index 44c1c0f545..54410ad12f 100644
--- a/include/of_device.h
+++ b/include/of_device.h
@@ -22,7 +22,7 @@ static inline int of_driver_match_device(struct device_d *dev,
extern const void *of_device_get_match_data(const struct device_d *dev);
-#else /* CONFIG_OF */
+#else /* CONFIG_OFTREE */
static inline int of_driver_match_device(struct device_d *dev,
const struct device_d *drv)
@@ -43,6 +43,6 @@ static inline const struct of_device_id *__of_match_device(
#define of_match_device(matches, dev) \
__of_match_device(matches, (dev))
-#endif /* CONFIG_OF */
+#endif /* CONFIG_OFTREE */
#endif /* _LINUX_OF_DEVICE_H */