diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-04-13 19:13:00 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-22 02:10:40 -0400 |
commit | 173b3a7a059a6998a6c0733710818c473cc0de4c (patch) | |
tree | c2b93a72890e715528742b4965d41da3c1d37ec9 /arch/microblaze/include/asm/of_device.h | |
parent | cb6dc512b745292eaf123fedf437c211e27fb680 (diff) |
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/of_device.h')
-rw-r--r-- | arch/microblaze/include/asm/of_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/of_device.h b/arch/microblaze/include/asm/of_device.h index ab25a40b481c..73cb98040982 100644 --- a/arch/microblaze/include/asm/of_device.h +++ b/arch/microblaze/include/asm/of_device.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * probed using OF properties. | 21 | * probed using OF properties. |
22 | */ | 22 | */ |
23 | struct of_device { | 23 | struct of_device { |
24 | u64 dma_mask; /* DMA mask */ | ||
25 | struct device dev; /* Generic device interface */ | 24 | struct device dev; /* Generic device interface */ |
25 | struct pdev_archdata archdata; | ||
26 | }; | 26 | }; |
27 | 27 | ||
28 | extern ssize_t of_device_get_modalias(struct of_device *ofdev, | 28 | extern ssize_t of_device_get_modalias(struct of_device *ofdev, |