mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04: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]>