]> git.sur5r.net Git - u-boot/blobdiff - include/linux/mtd/concat.h
mtd, ubi, ubifs: resync with Linux-3.14
[u-boot] / include / linux / mtd / concat.h
index e80c674daeb38c8385c55d7e89b87f3909dcc201..195a4a5426b6b928b40bbe62dd3fafae708a0fd4 100644 (file)
@@ -9,13 +9,15 @@
 #ifndef MTD_CONCAT_H
 #define MTD_CONCAT_H
 
-
 struct mtd_info *mtd_concat_create(
     struct mtd_info *subdev[],  /* subdevices to concatenate */
     int num_devs,               /* number of subdevices      */
+#ifndef __UBOOT__
     const char *name);          /* name for the new device   */
+#else
+    char *name);          /* name for the new device   */
+#endif
 
 void mtd_concat_destroy(struct mtd_info *mtd);
 
 #endif
-