On Tue, Mar 10, 2009 at 02:10:00PM -0700, Tony Lindgren wrote:
> ... Array size for hsmmc[] is specified
> because hsmmc[2].name is needed for MMC3 name.
I see nothing in this patch which requires that.
> diff --git a/arch/arm/mach-omap2/mmc-twl4030.c
> b/arch/arm/mach-omap2/mmc-twl4030.c
> index 6399874..042035c 100644
> --- a/arch/arm/mach-omap2/mmc-twl4030.c
> +++ b/arch/arm/mach-omap2/mmc-twl4030.c
> @@ -62,7 +62,7 @@ static struct twl_mmc_controller {
> u8 twl_vmmc_dev_grp;
> u8 twl_mmc_dedicated;
> char name[HSMMC_NAME_LEN + 1];
> -} hsmmc[] = {
> +} hsmmc[OMAP34XX_NR_MMC] = {
so this change looks like it can be omitted.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html