diff options
author | Namjae Jeon <linkinjeon@gmail.com> | 2011-10-13 00:43:14 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-27 09:11:34 -0400 |
commit | a6029e1f75bb484c1f5bc68b6a8572e4024795bc (patch) | |
tree | 79b8487c706e93fa4e0be28d3a4297d65851ac35 /arch/arm/mach-msm/include | |
parent | 336c716ae2272c9a26a6f82976d0e077d8ca824e (diff) | |
download | blackbird-op-linux-a6029e1f75bb484c1f5bc68b6a8572e4024795bc.tar.gz blackbird-op-linux-a6029e1f75bb484c1f5bc68b6a8572e4024795bc.zip |
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 <rdunlap@xenotime.net>
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Andrei Warkentin <andreiw@vmware.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/mach-msm/include')
0 files changed, 0 insertions, 0 deletions