Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmc: fix compile error when CONFIG_BLOCK is not enabled
'DISK_NAME_LEN' is undeclared when CONFIG_BLOCK is disabled; its use was introduced via genhd.h by the general purpose partition patch. To fix, we just add our own MAX_MMC_PART_NAME_LEN macro instead of using DISK_NAME_LEN. Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Acked-by: Randy Dunlap <[email protected]> Acked-by: Andrei Warkentin <[email protected]> Signed-off-by: Chris Ball <[email protected]>
- Loading branch information