summaryrefslogtreecommitdiff
path: root/include/env_callback.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-08-02 09:44:18 -0600
committerTom Rini <[email protected]>2019-08-11 16:43:41 -0400
commitdd2408cac1ea0f5e9ab4b07539c6edaee57918cb (patch)
tree1f797fce88be656b6bafe0feac4bd183402f80dd /include/env_callback.h
parent02cf9334280046e6b07ba304e7da2a273e445d5b (diff)
env: Drop the ENTRY typedef
U-Boot is not supposed to use typedef for structs anymore. Also this name is the same as the ENTRY() macro used in assembler files, and 'entry' itself is widely used in U-Boot (>8k matches). Drop the typedef and rename the struct to env_entry to reduce confusion. Signed-off-by: Simon Glass <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'include/env_callback.h')
-rw-r--r--include/env_callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env_callback.h b/include/env_callback.h
index 3d30a33f5ba..982c07854d0 100644
--- a/include/env_callback.h
+++ b/include/env_callback.h
@@ -72,6 +72,6 @@
"serial#:serialno," \
CONFIG_ENV_CALLBACK_LIST_STATIC
-void env_callback_init(ENTRY *var_entry);
+void env_callback_init(struct env_entry *var_entry);
#endif /* __ENV_CALLBACK_H__ */