UBI: add layout volume information
[deliverable/linux.git] / drivers / mtd / ubi / eba.c
index 1f951e39c535669dc2f0ca323c229b4c98d68a64..1f7375e2ffb8017811ed0915832803651ec9a16d 100644 (file)
@@ -78,7 +78,7 @@ static unsigned long long next_sqnum(struct ubi_device *ubi)
  */
 static int ubi_get_compat(const struct ubi_device *ubi, int vol_id)
 {
-       if (vol_id == UBI_LAYOUT_VOL_ID)
+       if (vol_id == UBI_LAYOUT_VOLUME_ID)
                return UBI_LAYOUT_VOLUME_COMPAT;
        return 0;
 }
This page took 0.024347 seconds and 5 git commands to generate.