]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/mtdpart.c
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / drivers / mtd / mtdpart.c
index cddfb1609c3eee1c50257cb00d4f8f7f498deec9..f87c962205371c6491b1e992f8961027355be12f 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Simple MTD partitioning layer
  *
@@ -5,8 +6,6 @@
  * Copyright © 2002 Thomas Gleixner <gleixner@linutronix.de>
  * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  */
 
 #ifndef __UBOOT__
@@ -20,7 +19,7 @@
 
 #include <common.h>
 #include <malloc.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <linux/compat.h>
 #include <ubi_uboot.h>