]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/lightnvm/gennvm.h
Merge remote-tracking branches 'asoc/topic/davinci' and 'asoc/topic/dwc' into asoc...
[karo-tx-linux.git] / drivers / lightnvm / gennvm.h
index 9c24b5b32dac2cb37acc39a5d7c54449296fe231..04d7c23cfc61756ea3bdbd149be630c4b7cf8369 100644 (file)
@@ -39,8 +39,14 @@ struct gen_nvm {
 
        int nr_luns;
        struct gen_lun *luns;
+       struct list_head area_list;
 };
 
+struct gennvm_area {
+       struct list_head list;
+       sector_t begin;
+       sector_t end;   /* end is excluded */
+};
 #define gennvm_for_each_lun(bm, lun, i) \
                for ((i) = 0, lun = &(bm)->luns[0]; \
                        (i) < (bm)->nr_luns; (i)++, lun = &(bm)->luns[(i)])