summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-10 17:02:06 +0300
committerTom Rini <trini@konsulko.com>2022-02-10 17:19:44 +0300
commit2ccd2bc8c3580e00c51094c5cc2b3e2ead8d35c3 (patch)
tree4e7349b8831fee4b342a971025273d3cd042a2f9 /include
parent6662e5e406fdee26ba981dd4af3308f51f254f0a (diff)
parentf3078d4ea707931c2307a623ecf6e4d215b413d5 (diff)
downloadu-boot-2ccd2bc8c3580e00c51094c5cc2b3e2ead8d35c3.tar.xz
Merge tag 'dm-pull-8feb22-take3' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
patman snake-case conversion binman fit improvements ACPI fixes and making MCFG available to ARM [trini: Update scripts/pylint.base] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/dm/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 435a1114f1..cb52a0997c 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -212,7 +212,7 @@ struct udevice_rt {
#define DM_MAX_SEQ_STR 3
/* Returns the operations for a device */
-#define device_get_ops(dev) (dev->driver->ops)
+#define device_get_ops(dev) ((dev)->driver->ops)
#if CONFIG_IS_ENABLED(OF_PLATDATA_RT)
u32 dev_get_flags(const struct udevice *dev);