]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/ubi/build.c
mtd, ubi: set free_count to zero before walking through erase list
[karo-tx-uboot.git] / drivers / mtd / ubi / build.c
index f0a3b6794222206e7cff03f6b2f2bdc024364c9b..baf4e2d25b4c1c1f2bea6921bad905e642f2388b 100644 (file)
@@ -30,7 +30,8 @@
 #include <linux/slab.h>
 #include <linux/major.h>
 #else
-#include <linux/compat.h>
+#include <linux/bug.h>
+#include <linux/log2.h>
 #endif
 #include <linux/err.h>
 #include <ubi_uboot.h>