mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 19:39:54 +01:00
'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]>