diff options
author | Paul Mackerras <paulus@samba.org> | 2007-07-10 23:28:26 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-10 23:28:26 -0400 |
commit | bf22f6fe2d72b4d7e9035be8ceb340414cf490e3 (patch) | |
tree | 14085d90de0428316479fe6de8a0c6d32e6e65e2 /arch/powerpc/sysdev/fsl_soc.c | |
parent | 4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4 (diff) | |
parent | 93ab471889c6662b42ce7da257f31f24c08d7d9e (diff) |
Merge branch 'for-2.6.23' into merge
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index cad175724359..c0ddc80d8160 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c | |||
@@ -1028,6 +1028,19 @@ err: | |||
1028 | 1028 | ||
1029 | arch_initcall(fs_enet_of_init); | 1029 | arch_initcall(fs_enet_of_init); |
1030 | 1030 | ||
1031 | static int __init fsl_pcmcia_of_init(void) | ||
1032 | { | ||
1033 | struct device_node *np = NULL; | ||
1034 | /* | ||
1035 | * Register all the devices which type is "pcmcia" | ||
1036 | */ | ||
1037 | while ((np = of_find_compatible_node(np, | ||
1038 | "pcmcia", "fsl,pq-pcmcia")) != NULL) | ||
1039 | of_platform_device_create(np, "m8xx-pcmcia", NULL); | ||
1040 | return 0; | ||
1041 | } | ||
1042 | |||
1043 | arch_initcall(fsl_pcmcia_of_init); | ||
1031 | 1044 | ||
1032 | static const char *smc_regs = "regs"; | 1045 | static const char *smc_regs = "regs"; |
1033 | static const char *smc_pram = "pram"; | 1046 | static const char *smc_pram = "pram"; |