aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
-rw-r--r--arch/powerpc/sysdev/fsl_soc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index 4baad80ab731..217bcc2e8f86 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -1128,13 +1128,12 @@ arch_initcall(fs_enet_of_init);
1128 1128
1129static int __init fsl_pcmcia_of_init(void) 1129static int __init fsl_pcmcia_of_init(void)
1130{ 1130{
1131 struct device_node *np = NULL; 1131 struct device_node *np;
1132 /* 1132 /*
1133 * Register all the devices which type is "pcmcia" 1133 * Register all the devices which type is "pcmcia"
1134 */ 1134 */
1135 while ((np = of_find_compatible_node(np, 1135 for_each_compatible_node(np, "pcmcia", "fsl,pq-pcmcia")
1136 "pcmcia", "fsl,pq-pcmcia")) != NULL) 1136 of_platform_device_create(np, "m8xx-pcmcia", NULL);
1137 of_platform_device_create(np, "m8xx-pcmcia", NULL);
1138 return 0; 1137 return 0;
1139} 1138}
1140 1139