aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/device.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-04-13 16:13:00 -0700
committerGrant Likely <grant.likely@secretlab.ca>2010-05-22 00:10:40 -0600
commit173b3a7a059a6998a6c0733710818c473cc0de4c (patch)
treec2b93a72890e715528742b4965d41da3c1d37ec9 /arch/microblaze/include/asm/device.h
parentarch/powerpc: Move dma_mask from of_device into pdev_archdata (diff)
downloadlinux-dev-173b3a7a059a6998a6c0733710818c473cc0de4c.tar.xz
linux-dev-173b3a7a059a6998a6c0733710818c473cc0de4c.zip
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/include/asm/device.h')
-rw-r--r--arch/microblaze/include/asm/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/device.h b/arch/microblaze/include/asm/device.h
index 15b0058aa7ff..123b2fe72d01 100644
--- a/arch/microblaze/include/asm/device.h
+++ b/arch/microblaze/include/asm/device.h
@@ -18,6 +18,7 @@ struct dev_archdata {
};
struct pdev_archdata {
+ u64 dma_mask;
};
#endif /* _ASM_MICROBLAZE_DEVICE_H */