diff options
author | Pierre-Clément Tosi <ptosi@google.com> | 2021-09-30 18:52:45 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-10-21 21:50:48 +0300 |
commit | 3610970872351b58d9cfdbd9bf9aeabc6adac7b5 (patch) | |
tree | 175ac386701e5714457e325c53aee4768d4a0193 /env | |
parent | 737fd142de530978157d61dd732273dd61a57eee (diff) | |
download | u-boot-3610970872351b58d9cfdbd9bf9aeabc6adac7b5.tar.xz |
dm: Fix util.h's broken include guard
Fix up the header's include guard to contain the definition of
dm_priv_to_rw(), which was erroneously added outside of it, by moving
its #endif to the end of the file (i.e. where it belongs). This removes
the risk of compilation errors resulting from the redefinition of that
function where the header might have been (indirectly) included more
than once.
Fixes: cfb9c9b77c2 ("dm: core: Use separate priv/plat data region")
Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
0 files changed, 0 insertions, 0 deletions