]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/exports.c
Merge branch 'tx51-bugfix' into karo-tx-merge
[karo-tx-uboot.git] / common / exports.c
index 3dff7351bc3d3a5204d4fde0cdeb5d16b28d4bc9..b97ca48307dcba1493d9426bde8e6f706d8fa1ed 100644 (file)
@@ -1,5 +1,6 @@
 #include <common.h>
 #include <exports.h>
+#include <spi.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -15,7 +16,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 */