X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fenv_callback.h;h=05e9516a0f44d1c4980b27bbd06176b709011500;hb=64cfeda8ae2e95751c5d2dfa4dc4a906478ae2f6;hp=74da20eec3087143c239134dbac9e9524d1288cd;hpb=2f760735c170c854ffca76be5607cec5c56fdc4f;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/env_callback.h b/include/env_callback.h index 74da20e..05e9516 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -72,6 +72,12 @@ "serial#:serialno," \ CONFIG_ENV_CALLBACK_LIST_STATIC +#ifndef CONFIG_SPL_BUILD void env_callback_init(struct env_entry *var_entry); +#else +static inline void env_callback_init(struct env_entry *var_entry) +{ +} +#endif #endif /* __ENV_CALLBACK_H__ */