diff options
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc834x_itx.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc834x_itx.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc834x_itx.c b/arch/powerpc/platforms/83xx/mpc834x_itx.c index aa768199432d..50e8f632061c 100644 --- a/arch/powerpc/platforms/83xx/mpc834x_itx.c +++ b/arch/powerpc/platforms/83xx/mpc834x_itx.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/seq_file.h> | 24 | #include <linux/seq_file.h> |
25 | #include <linux/root_dev.h> | 25 | #include <linux/root_dev.h> |
26 | #include <linux/of_platform.h> | ||
26 | 27 | ||
27 | #include <asm/system.h> | 28 | #include <asm/system.h> |
28 | #include <asm/atomic.h> | 29 | #include <asm/atomic.h> |
@@ -37,6 +38,17 @@ | |||
37 | 38 | ||
38 | #include "mpc83xx.h" | 39 | #include "mpc83xx.h" |
39 | 40 | ||
41 | static struct of_device_id __initdata mpc834x_itx_ids[] = { | ||
42 | { .compatible = "fsl,pq2pro-localbus", }, | ||
43 | {}, | ||
44 | }; | ||
45 | |||
46 | static int __init mpc834x_itx_declare_of_platform_devices(void) | ||
47 | { | ||
48 | return of_platform_bus_probe(NULL, mpc834x_itx_ids, NULL); | ||
49 | } | ||
50 | machine_device_initcall(mpc834x_itx, mpc834x_itx_declare_of_platform_devices); | ||
51 | |||
40 | /* ************************************************************************ | 52 | /* ************************************************************************ |
41 | * | 53 | * |
42 | * Setup the architecture | 54 | * Setup the architecture |