diff options
Diffstat (limited to 'src/include')
-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 8a481b2ca2..786a640f39 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)); |