On 06/02/2011 01:50, Chris Ball wrote:
>
>
> Thanks. We have macros for this, but need to add one for combo cards.
> include/linux/mmc/card.h should get:
>
> #define mmc_card_sd_combo(c) ((c)->type == MMC_TYPE_SD_COMBO)
How about something like:
#define mmc_card_has_sdio(c) \
({ \
struct mmc_card *__card = (c); \
mmc_card_sdio(__card) && mmc_card_sd_combo(__card); \
})
And similarly
#define mmc_card_has_sd(c) ...
David
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html