Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] pxa: fix incorrect initialization of mfp sysdev when not pxa2xx

The initialization of mfp sysdev in pxa2xx_mfp_init() shall really be
avoided when !cpu_is_pxa2xx().

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Eric Miao and committed by
Russell King
e7f3c600 5a89770d

+3
+3
arch/arm/mach-pxa/mfp-pxa2xx.c
··· 338 338 { 339 339 int i; 340 340 341 + if (!cpu_is_pxa2xx()) 342 + return 0; 343 + 341 344 if (cpu_is_pxa25x()) 342 345 pxa25x_mfp_init(); 343 346