aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mcp-sa11x0.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-12 14:04:43 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-03 12:37:59 -0500
commit7658e7f9a8122b0678e4b4280308560aa5444bd5 (patch)
tree400e6622d65b3d39d862fa0671da316bf872322b /drivers/mfd/mcp-sa11x0.c
parent30816ac0495cb4f33fc8d748f64ac3cc880cb3c1 (diff)
MFD: mcp-sa11x0: remove DMA initializers and variables
The dma_device_t variables are only ever written to by mcp-sa11x0 and never read. As the old SA11x0 DMA support will be removed, remove these so that it no longer depends on the old SA11x0 DMA definitions. Acked-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mfd/mcp-sa11x0.c')
-rw-r--r--drivers/mfd/mcp-sa11x0.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mfd/mcp-sa11x0.c b/drivers/mfd/mcp-sa11x0.c
index 33cadc0ec121..d2ebc641b014 100644
--- a/drivers/mfd/mcp-sa11x0.c
+++ b/drivers/mfd/mcp-sa11x0.c
@@ -20,7 +20,6 @@
20#include <linux/platform_device.h> 20#include <linux/platform_device.h>
21#include <linux/mfd/mcp.h> 21#include <linux/mfd/mcp.h>
22 22
23#include <mach/dma.h>
24#include <mach/hardware.h> 23#include <mach/hardware.h>
25#include <asm/mach-types.h> 24#include <asm/mach-types.h>
26#include <asm/system.h> 25#include <asm/system.h>
@@ -158,10 +157,6 @@ static int mcp_sa11x0_probe(struct platform_device *pdev)
158 mcp->owner = THIS_MODULE; 157 mcp->owner = THIS_MODULE;
159 mcp->ops = &mcp_sa11x0; 158 mcp->ops = &mcp_sa11x0;
160 mcp->sclk_rate = data->sclk_rate; 159 mcp->sclk_rate = data->sclk_rate;
161 mcp->dma_audio_rd = DMA_Ser4MCP0Rd;
162 mcp->dma_audio_wr = DMA_Ser4MCP0Wr;
163 mcp->dma_telco_rd = DMA_Ser4MCP1Rd;
164 mcp->dma_telco_wr = DMA_Ser4MCP1Wr;
165 mcp->gpio_base = data->gpio_base; 160 mcp->gpio_base = data->gpio_base;
166 161
167 platform_set_drvdata(pdev, mcp); 162 platform_set_drvdata(pdev, mcp);