From: Namjae Jeon Date: Wed, 12 Oct 2011 15:43:14 +0000 (+0900) Subject: mmc: fix compile error when CONFIG_BLOCK is not enabled X-Git-Tag: v3.2-rc1~129^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6029e1f75bb484c1f5bc68b6a8572e4024795bc;p=pandora-kernel.git 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 Signed-off-by: Namjae Jeon Acked-by: Randy Dunlap Acked-by: Andrei Warkentin Signed-off-by: Chris Ball --- Reading git-diff-tree failed