From bf5db2fbd65e6225a8aa749d4e788e223518d486 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 16 May 2014 13:16:49 +0200 Subject: microblaze: Use generic device.h pdev_archdata dma_mask is completely unused. Use generic device.h Signed-off-by: Michal Simek --- drivers/of/platform.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/of') diff --git a/drivers/of/platform.c b/drivers/of/platform.c index bd47fbc53dc..a83b9878415 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, } dev->dev.of_node = of_node_get(np); -#if defined(CONFIG_MICROBLAZE) - dev->dev.dma_mask = &dev->archdata.dma_mask; -#endif dev->dev.parent = parent; if (bus_id) -- cgit v1.2.3-70-g09d2