diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-27 10:25:33 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-31 14:48:38 +0000 |
commit | 446b2a9380b64b9d7410d86ee8226031e03645cf (patch) | |
tree | 1bd25472bcd24d88d1fbaf0b35bc05ebee8441d4 /drivers/of/platform.c | |
parent | 01edb5e12c7fd2170b1969a455442e8fd17cfe54 (diff) |
DMA-API: amba: get rid of separate dma_mask
AMBA Primecell devices always treat streaming and coherent DMA exactly
the same, so there's no point in having the masks separated.
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/of/platform.c')
-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 9b439ac63d8e..54382ba4a6e9 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -284,9 +284,6 @@ static struct amba_device *of_amba_device_create(struct device_node *node, else of_device_make_bus_id(&dev->dev); - /* setup amba-specific device info */ - dev->dma_mask = ~0; - /* Allow the HW Peripheral ID to be overridden */ prop = of_get_property(node, "arm,primecell-periphid", NULL); if (prop) |