]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/mxc_spi.c
imx_common: detect USB serial downloader reliably
[u-boot] / drivers / spi / mxc_spi.c
index 08815994fe5d21d0effd00394cea05ce6698508c..e1562c36b7a6b5ecec5892d8ba85719cdda0e7f7 100644 (file)
@@ -7,12 +7,12 @@
 #include <common.h>
 #include <malloc.h>
 #include <spi.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
-#include <asm/imx-common/spi.h>
+#include <asm/mach-imx/spi.h>
 
 #ifdef CONFIG_MX27
 /* i.MX27 has a completely wrong register layout and register definitions in the