Skip to content

Commit

Permalink
microblaze: Use generic device.h
Browse files Browse the repository at this point in the history
pdev_archdata dma_mask is completely unused.
Use generic device.h

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Michal Simek committed Jun 4, 2014
1 parent 6b3f246 commit bf5db2f
Showing 3 changed files with 1 addition and 26 deletions.
1 change: 1 addition & 0 deletions arch/microblaze/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
generic-y += barrier.h
generic-y += clkdev.h
generic-y += cputime.h
generic-y += device.h
generic-y += exec.h
generic-y += hash.h
generic-y += mcs_spinlock.h
23 changes: 0 additions & 23 deletions arch/microblaze/include/asm/device.h

This file was deleted.

3 changes: 0 additions & 3 deletions drivers/of/platform.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit bf5db2f

Please sign in to comment.