Re: [PATCH 3/3] drivers/mmc/host: Add realtek sdmmc interface driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 23, 2012 at 05:42:51PM +0800, wei_wang@xxxxxxxxxxxxxx wrote:
> +static void realtek_init_host(struct realtek_sdmmc *host)
> +{
> +	struct mmc_host *mmc = host->mmc;
> +
> +	mmc->f_min = 250000;
> +	mmc->f_max = 208000000;
> +	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
> +	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED |
> +		MMC_CAP_MMC_HIGHSPEED | MMC_CAP_BUS_WIDTH_TEST |
> +		MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 |
> +		MMC_CAP_MAX_CURRENT_200 | MMC_CAP_MAX_CURRENT_400 |
> +		MMC_CAP_MAX_CURRENT_600 | MMC_CAP_MAX_CURRENT_800;

drivers/mmc/host/rtsx_sdmmc.c: In function ‘realtek_init_host’:
drivers/mmc/host/rtsx_sdmmc.c:263:3: error: ‘MMC_CAP_MAX_CURRENT_200’ undeclared (first use in this function)
drivers/mmc/host/rtsx_sdmmc.c:263:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/mmc/host/rtsx_sdmmc.c:263:29: error: ‘MMC_CAP_MAX_CURRENT_400’ undeclared (first use in this function)
drivers/mmc/host/rtsx_sdmmc.c:264:3: error: ‘MMC_CAP_MAX_CURRENT_600’ undeclared (first use in this function)
drivers/mmc/host/rtsx_sdmmc.c:264:29: error: ‘MMC_CAP_MAX_CURRENT_800’ undeclared (first use in this function)
make[3]: *** [drivers/mmc/host/rtsx_sdmmc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2

This happens when I enable CONFIG_MMC_REALTEK to build rtsx_sdmmc.c

Config attached.

-- 
Regards/Gruss,
Boris.

Attachment: config.gz
Description: Binary data

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux