]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/ubi/ubi.h
USB: S5P: Add ehci support
[u-boot] / drivers / mtd / ubi / ubi.h
index bf77a15743b7da260404c42984fac9b3b2d8bdcf..14c3a5f76c83c2e7682fabbf09ca8a4f2eceef5d 100644 (file)
@@ -467,7 +467,12 @@ int ubi_destroy_gluebi(struct ubi_volume *vol);
 void ubi_gluebi_updated(struct ubi_volume *vol);
 #else
 #define ubi_create_gluebi(ubi, vol) 0
-#define ubi_destroy_gluebi(vol) 0
+
+static inline int ubi_destroy_gluebi(struct ubi_volume *vol)
+{
+       return 0;
+}
+
 #define ubi_gluebi_updated(vol)
 #endif