summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf_mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi/sf_mtd.c')
-rw-r--r--drivers/mtd/spi/sf_mtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/sf_mtd.c b/drivers/mtd/spi/sf_mtd.c
index 0b9cb62261..935ae4d2b9 100644
--- a/drivers/mtd/spi/sf_mtd.c
+++ b/drivers/mtd/spi/sf_mtd.c
@@ -6,7 +6,7 @@
#include <common.h>
#include <malloc.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <linux/mtd/mtd.h>
#include <spi_flash.h>