diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-12 14:04:43 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-03 12:37:59 -0500 |
commit | 7658e7f9a8122b0678e4b4280308560aa5444bd5 (patch) | |
tree | 400e6622d65b3d39d862fa0671da316bf872322b | |
parent | 30816ac0495cb4f33fc8d748f64ac3cc880cb3c1 (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>
-rw-r--r-- | drivers/mfd/mcp-core.c | 1 | ||||
-rw-r--r-- | drivers/mfd/mcp-sa11x0.c | 5 | ||||
-rw-r--r-- | drivers/mfd/ucb1x00-assabet.c | 3 | ||||
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 1 | ||||
-rw-r--r-- | drivers/mfd/ucb1x00-ts.c | 1 | ||||
-rw-r--r-- | include/linux/mfd/mcp.h | 6 |
6 files changed, 0 insertions, 17 deletions
diff --git a/drivers/mfd/mcp-core.c b/drivers/mfd/mcp-core.c index cc7643177841..280a4f8a7876 100644 --- a/drivers/mfd/mcp-core.c +++ b/drivers/mfd/mcp-core.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/string.h> | 19 | #include <linux/string.h> |
20 | #include <linux/mfd/mcp.h> | 20 | #include <linux/mfd/mcp.h> |
21 | 21 | ||
22 | #include <mach/dma.h> | ||
23 | #include <asm/system.h> | 22 | #include <asm/system.h> |
24 | 23 | ||
25 | 24 | ||
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); |
diff --git a/drivers/mfd/ucb1x00-assabet.c b/drivers/mfd/ucb1x00-assabet.c index cea9da60850d..b7be613cb503 100644 --- a/drivers/mfd/ucb1x00-assabet.c +++ b/drivers/mfd/ucb1x00-assabet.c | |||
@@ -16,9 +16,6 @@ | |||
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/mfd/ucb1x00.h> | 17 | #include <linux/mfd/ucb1x00.h> |
18 | 18 | ||
19 | #include <mach/dma.h> | ||
20 | |||
21 | |||
22 | #define UCB1X00_ATTR(name,input)\ | 19 | #define UCB1X00_ATTR(name,input)\ |
23 | static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \ | 20 | static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \ |
24 | char *buf) \ | 21 | char *buf) \ |
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index febc90cdef7e..f2fb4205467c 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/gpio.h> | 29 | #include <linux/gpio.h> |
30 | #include <linux/semaphore.h> | 30 | #include <linux/semaphore.h> |
31 | 31 | ||
32 | #include <mach/dma.h> | ||
33 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
34 | 33 | ||
35 | static DEFINE_MUTEX(ucb1x00_mutex); | 34 | static DEFINE_MUTEX(ucb1x00_mutex); |
diff --git a/drivers/mfd/ucb1x00-ts.c b/drivers/mfd/ucb1x00-ts.c index 63a3cbdfa3f3..ec6ffb6e287d 100644 --- a/drivers/mfd/ucb1x00-ts.c +++ b/drivers/mfd/ucb1x00-ts.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/kthread.h> | 32 | #include <linux/kthread.h> |
33 | #include <linux/mfd/ucb1x00.h> | 33 | #include <linux/mfd/ucb1x00.h> |
34 | 34 | ||
35 | #include <mach/dma.h> | ||
36 | #include <mach/collie.h> | 35 | #include <mach/collie.h> |
37 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
38 | 37 | ||
diff --git a/include/linux/mfd/mcp.h b/include/linux/mfd/mcp.h index 79a6b13ba20c..dfe7e517ad9b 100644 --- a/include/linux/mfd/mcp.h +++ b/include/linux/mfd/mcp.h | |||
@@ -10,8 +10,6 @@ | |||
10 | #ifndef MCP_H | 10 | #ifndef MCP_H |
11 | #define MCP_H | 11 | #define MCP_H |
12 | 12 | ||
13 | #include <mach/dma.h> | ||
14 | |||
15 | struct mcp_ops; | 13 | struct mcp_ops; |
16 | 14 | ||
17 | struct mcp { | 15 | struct mcp { |
@@ -21,10 +19,6 @@ struct mcp { | |||
21 | int use_count; | 19 | int use_count; |
22 | unsigned int sclk_rate; | 20 | unsigned int sclk_rate; |
23 | unsigned int rw_timeout; | 21 | unsigned int rw_timeout; |
24 | dma_device_t dma_audio_rd; | ||
25 | dma_device_t dma_audio_wr; | ||
26 | dma_device_t dma_telco_rd; | ||
27 | dma_device_t dma_telco_wr; | ||
28 | struct device attached_device; | 22 | struct device attached_device; |
29 | int gpio_base; | 23 | int gpio_base; |
30 | }; | 24 | }; |