OpenCloudOS-Kernel/include/linux/mmc
Namjae Jeon a6029e1f75 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>
2011-10-27 09:11:34 -04:00
..
Kbuild mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: fix compile error when CONFIG_BLOCK is not enabled 2011-10-27 09:11:34 -04:00
core.h mmc: core: support HPI send command 2011-10-26 16:32:29 -04:00
dw_mmc.h mmc: dw_mmc: modify DATA register offset 2011-10-26 16:32:25 -04:00
host.h mmc: core: add workaround for controllers with broken multiblock reads 2011-10-27 09:10:57 -04:00
ioctl.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
mmc.h mmc: core: support HPI send command 2011-10-26 16:32:29 -04:00
pm.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-spear.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci.h mmc: sdhci-pci: add runtime pm support 2011-10-26 16:32:20 -04:00
sdio.h mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00 2011-10-26 16:32:31 -04:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sh_mmcif.h mmc: sh_mmcif: simplify platform data 2011-10-26 16:32:09 -04:00
sh_mobile_sdhi.h mmc: sdhi: Allow named IRQs to use specific handlers 2011-10-26 15:43:36 -04:00
tmio.h mmc: sdhi: Add write16_hook 2011-07-20 17:20:57 -04:00