diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-05-16 07:16:49 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-06-04 00:59:59 -0400 |
commit | bf5db2fbd65e6225a8aa749d4e788e223518d486 (patch) | |
tree | 627919a727de52547e52d49431494edfc0470bd9 /drivers/of | |
parent | 6b3f246e398cc9afc61e3a65a116fabb6d5ca7aa (diff) |
microblaze: Use generic device.h
pdev_archdata dma_mask is completely unused.
Use generic device.h
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/platform.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index bd47fbc53dc9..a83b98784150 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -174,9 +174,6 @@ struct platform_device *of_device_alloc(struct device_node *np, | |||
174 | } | 174 | } |
175 | 175 | ||
176 | dev->dev.of_node = of_node_get(np); | 176 | dev->dev.of_node = of_node_get(np); |
177 | #if defined(CONFIG_MICROBLAZE) | ||
178 | dev->dev.dma_mask = &dev->archdata.dma_mask; | ||
179 | #endif | ||
180 | dev->dev.parent = parent; | 177 | dev->dev.parent = parent; |
181 | 178 | ||
182 | if (bus_id) | 179 | if (bus_id) |