[PATCH] mach-u300: do away with MMC config files

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jan 20 06:09:23 EST 2012


On Fri, Jan 20, 2012 at 12:00:20PM +0100, Linus Walleij wrote:
>  static struct amba_device mmcsd_device = {
>  	.dev = {
>  		.init_name = "mmci", /* Fast device at 0x1000 offset */
> -		.platform_data = NULL, /* Added later */
> +		.platform_data = &mmcsd_platform_data,

This will certainly conflict with the set of AMBA/Primecell patches
I've just posted... the equivalent change is:

 static AMBA_APB_DEVICE(mmcsd, "mmci", 0, U300_MMCSD_BASE,
-	U300_MMCSD_IRQS, NULL);
+	U300_MMCSD_IRQS, &mmcsd_platform_data);



More information about the linux-arm-kernel mailing list