SPDX: Convert all of our single license tags to Linux Kernel style
[platform/kernel/u-boot.git] / drivers / mtd / mtd_uboot.c
index c517b9c..2b3b2ee 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2014
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <linux/mtd/mtd.h>
@@ -37,7 +36,7 @@ static int get_part(const char *partname, int *idx, loff_t *off, loff_t *size,
 
        return 0;
 #else
-       puts("offset is not a number\n");
+       puts("mtdparts support missing.\n");
        return -1;
 #endif
 }