[PATCH 07/13] ARM: OMAP5: l3: Add l3 error handler support for omap5.
Tony Lindgren
tony at atomide.com
Fri May 4 18:51:54 EDT 2012
* R Sricharan <r.sricharan at ti.com> [120503 00:30]:
> --- a/arch/arm/mach-omap2/devices.c
> +++ b/arch/arm/mach-omap2/devices.c
> @@ -85,7 +85,7 @@ static int __init omap4_l3_init(void)
> * To avoid code running on other OMAPs in
> * multi-omap builds
> */
> - if (!(cpu_is_omap44xx()))
> + if ((!(cpu_is_omap44xx())) && (!cpu_is_omap54xx()))
> return -ENODEV;
>
> for (i = 0; i < L3_MODULES; i++) {
Isn't there some unnecessary parens here?
Tony
More information about the linux-arm-kernel
mailing list