]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/sandbox_spi.c
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / drivers / spi / sandbox_spi.c
index bad56603ba6809443ee020a4f3459057f166ebf3..75ba6a1ed7ef2000cf691dbd4c19ae7181798b50 100644 (file)
 #include <spi_flash.h>
 #include <os.h>
 
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/spi.h>
 #include <asm/state.h>
 #include <dm/device-internal.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #ifndef CONFIG_SPI_IDLE_VAL
 # define CONFIG_SPI_IDLE_VAL 0xFF
 #endif