diff options
author | Sebastian Siewior <bigeasy@tglx.de> | 2008-03-14 19:01:30 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-04-17 02:01:36 -0400 |
commit | 1028d4f162796a99b87565b6b40b5fec79c242d0 (patch) | |
tree | d8207c813ef7abb8f7f953351b2c874343a242ed /arch/powerpc/platforms | |
parent | 370131c3f2cdd82edeb71add4b098b51803e214e (diff) |
[POWERPC] 85xx: Enable DMA engine on the MPC8544 DS
Add the device tree node for the DMA engine on 8544, publish
the device and enable the driver in the defconfig.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ds.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c index 2865d019afc3..dfd8b4ad9b28 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <linux/seq_file.h> | 20 | #include <linux/seq_file.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/of_platform.h> | ||
22 | 23 | ||
23 | #include <asm/system.h> | 24 | #include <asm/system.h> |
24 | #include <asm/time.h> | 25 | #include <asm/time.h> |
@@ -183,6 +184,18 @@ static int __init mpc8544_ds_probe(void) | |||
183 | } | 184 | } |
184 | } | 185 | } |
185 | 186 | ||
187 | static struct of_device_id mpc85xxds_ids[] = { | ||
188 | { .type = "soc", }, | ||
189 | { .compatible = "soc", }, | ||
190 | {}, | ||
191 | }; | ||
192 | |||
193 | static int __init mpc85xxds_publish_devices(void) | ||
194 | { | ||
195 | return of_platform_bus_probe(NULL, mpc85xxds_ids, NULL); | ||
196 | } | ||
197 | machine_device_initcall(mpc8544_ds, mpc85xxds_publish_devices); | ||
198 | |||
186 | /* | 199 | /* |
187 | * Called very early, device-tree isn't unflattened | 200 | * Called very early, device-tree isn't unflattened |
188 | */ | 201 | */ |