diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-04-13 23:13:00 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-22 06:10:40 (GMT) |
commit | 173b3a7a059a6998a6c0733710818c473cc0de4c (patch) | |
tree | c2b93a72890e715528742b4965d41da3c1d37ec9 /arch/microblaze/kernel/of_platform.c | |
parent | cb6dc512b745292eaf123fedf437c211e27fb680 (diff) | |
download | linux-fsl-qoriq-173b3a7a059a6998a6c0733710818c473cc0de4c.tar.xz |
arch/microblaze: Move dma_mask from of_device into pdev_archdata
By moving dma_mask into pdev_archdata, and adding archdata to
struct of_device, it makes it possible to substitute of_device
with struct platform_device, which is a stepping stone to
removing the of_platform bus entirely.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/microblaze/kernel/of_platform.c')
-rw-r--r-- | arch/microblaze/kernel/of_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/of_platform.c b/arch/microblaze/kernel/of_platform.c index 46a1e10..ccf6f42 100644 --- a/arch/microblaze/kernel/of_platform.c +++ b/arch/microblaze/kernel/of_platform.c @@ -47,7 +47,7 @@ struct of_device *of_platform_device_create(struct device_node *np, if (!dev) return NULL; - dev->dma_mask = 0xffffffffUL; + dev->archdata.dma_mask = 0xffffffffUL; dev->dev.bus = &of_platform_bus_type; /* We do not fill the DMA ops for platform devices by default. |