diff options
-rw-r--r-- | src/include/device/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 8a481b2ca2f7..786a640f39eb 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -385,6 +385,7 @@ static inline DEVTREE_CONST void *config_of(const struct device *dev) devtree_die(); } +/* config_of_soc() either returns a non-NULL pointer or dies in the config_of() call. */ static inline DEVTREE_CONST void *config_of_soc(void) { return config_of(pcidev_on_root(0, 0)); |