Re: [PATCH 1/5] OMAP2420: hwmod data: Add HSMMC

Kevin Hilman
2011-02-08T22:37:04Z

Kishore Kadiyala <kishore.kadiyala@ti.com> writes:

> Update the omap2420 hwmod data with the HSMMC info.
> Add a device attribute structure which will be used
> by the host driver to find whether the HSMMC controller
> supports DUAL VOLT cards.
>
> Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>

[...]

> --- a/arch/arm/plat-omap/include/plat/mmc.h
> +++ b/arch/arm/plat-omap/include/plat/mmc.h
> @@ -43,6 +43,13 @@
>
> #define OMAP_MMC_MAX_SLOTS 2
>
> +/* omap_hwmod integration data */
> +#define OMAP_HSMMC_SUPPORTS_DUAL_VOLT BIT(1)
> +
> +struct mmc_dev_attr {
> + u8 flags;
> +};
> +
> struct omap_mmc_platform_data {
> /* back-link to device */
> struct device *dev;

This part should be broken out as a separate patch.

Kevin