[PATCH 2/4] omap4: l2x0: Override the default l2x0_disable
Gadiyar, Anand
gadiyar at ti.com
Mon Aug 2 08:18:11 EDT 2010
> diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
> index 13dc979..b557cc2 100644
> --- a/arch/arm/mach-omap2/omap4-common.c
> +++ b/arch/arm/mach-omap2/omap4-common.c
<snip>
> @@ -66,6 +73,12 @@ static int __init omap_l2_cache_init(void)
> */
> l2x0_init(l2cache_base, 0x0e050000, 0xc0000fff);
>
> + /*
> + * Override default outer_cache.disable with a OMAP4
> + * specific one
> + */
Minor comment - you need a space before the '*'
> + outer_cache.disable = omap4_l2x0_disable;
> +
> return 0;
> }
> early_initcall(omap_l2_cache_init);
More information about the linux-arm-kernel
mailing list