[PATCH v4] mmc : general purpose partition support.

2011-09-30 Thread Namjae Jeon
It allows gerneral purpose partitions in MMC Device. And I try to simpliy make mmc_blk_alloc_parts using mmc_part structure suggested by Andrei Warkentin. After patching, we can see general purpose partitions like this. cat /proc/partitions 179 0 847872 mmcblk0 179 192 4096

Re: [PATCH v4] mmc : general purpose partition support.

2011-09-30 Thread Andrei E. Warkentin
Hi Namjae, Why don't you update card-nr_parts inside mmc_part_add? You're making this too complicated. There is also no need for the part_cfg array. 2011/9/30 Namjae Jeon linkinj...@gmail.com: It allows gerneral purpose partitions in MMC Device. And I try to simpliy make mmc_blk_alloc_parts