of/device: Fix build errors for non-ppc and non-microblaze
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jun 2010 13:48:26 +0000 (07:48 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 19 Jul 2010 04:39:55 +0000 (22:39 -0600)
commit9e3288dc9a94fab5ea87db42177d3a9e0345a614
treed2b4f25677fcf9e7026040f7452c9e4f2953186c
parentc5f5849bffb36478dd8a1e350860ff18b654bc44
of/device: Fix build errors for non-ppc and non-microblaze

Only powerpc and microblaze supply (struct device *)->archdata.dma_mask.
This patch stops referencing it on other architectures.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/platform.c