projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a89770
)
[ARM] pxa: fix incorrect initialization of mfp sysdev when not pxa2xx
author
Eric Miao
<eric.miao@marvell.com>
Sat, 27 Sep 2008 10:07:48 +0000
(18:07 +0800)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 7 Oct 2008 18:12:55 +0000
(19:12 +0100)
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>
arch/arm/mach-pxa/mfp-pxa2xx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/mfp-pxa2xx.c
b/arch/arm/mach-pxa/mfp-pxa2xx.c
index 3ee1f39062e9f7ee037f7d497c6890dbb328e237..2061c00c8ead6afd35d276b2f64028b50577fa25 100644
(file)
--- a/
arch/arm/mach-pxa/mfp-pxa2xx.c
+++ b/
arch/arm/mach-pxa/mfp-pxa2xx.c
@@
-338,6
+338,9
@@
static int __init pxa2xx_mfp_init(void)
{
int i;
+ if (!cpu_is_pxa2xx())
+ return 0;
+
if (cpu_is_pxa25x())
pxa25x_mfp_init();