diff options
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc836x_mds.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc836x_mds.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc836x_mds.c b/arch/powerpc/platforms/83xx/mpc836x_mds.c index afb3e45e1e97..3b202752ef5f 100644 --- a/arch/powerpc/platforms/83xx/mpc836x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc836x_mds.c | |||
@@ -144,23 +144,7 @@ static void __init mpc836x_mds_setup_arch(void) | |||
144 | #endif /* CONFIG_QUICC_ENGINE */ | 144 | #endif /* CONFIG_QUICC_ENGINE */ |
145 | } | 145 | } |
146 | 146 | ||
147 | static struct of_device_id mpc836x_ids[] = { | 147 | machine_device_initcall(mpc836x_mds, mpc83xx_declare_of_platform_devices); |
148 | { .type = "soc", }, | ||
149 | { .compatible = "soc", }, | ||
150 | { .compatible = "simple-bus", }, | ||
151 | { .type = "qe", }, | ||
152 | { .compatible = "fsl,qe", }, | ||
153 | {}, | ||
154 | }; | ||
155 | |||
156 | static int __init mpc836x_declare_of_platform_devices(void) | ||
157 | { | ||
158 | /* Publish the QE devices */ | ||
159 | of_platform_bus_probe(NULL, mpc836x_ids, NULL); | ||
160 | |||
161 | return 0; | ||
162 | } | ||
163 | machine_device_initcall(mpc836x_mds, mpc836x_declare_of_platform_devices); | ||
164 | 148 | ||
165 | #ifdef CONFIG_QE_USB | 149 | #ifdef CONFIG_QE_USB |
166 | static int __init mpc836x_usb_cfg(void) | 150 | static int __init mpc836x_usb_cfg(void) |