X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fexports.c;h=717e4afe6d877eca2f5c62e5bcd145cac97f9537;hb=5aa5b88404b2b3610d36a9626ec36dcc81194aa9;hp=60bba750f75990cc4f0b644ec49df6c42db55cc0;hpb=bf44f3f327acddba202ff67f70192926ea47dfd1;p=u-boot diff --git a/common/exports.c b/common/exports.c index 60bba750f7..717e4afe6d 100644 --- a/common/exports.c +++ b/common/exports.c @@ -3,7 +3,7 @@ DECLARE_GLOBAL_DATA_PTR; -static void dummy(void) +__attribute__((unused)) static void dummy(void) { } @@ -15,7 +15,7 @@ unsigned long get_version(void) /* Reuse _exports.h with a little trickery to avoid bitrot */ #define EXPORT_FUNC(sym) gd->jt[XF_##sym] = (void *)sym; -#if !defined(CONFIG_I386) && !defined(CONFIG_PPC) +#if !defined(CONFIG_X86) && !defined(CONFIG_PPC) # define install_hdlr dummy # define free_hdlr dummy #else /* kludge for non-standard function naming */ @@ -34,9 +34,6 @@ unsigned long get_version(void) # define spi_release_bus dummy # define spi_xfer dummy #endif -#ifndef CONFIG_HAS_UID -# define forceenv dummy -#endif void jumptable_init(void) {