diff options
-rw-r--r-- | drivers/mfd/mcp-core.c | 2 | ||||
-rw-r--r-- | drivers/mfd/mcp-sa11x0.c | 2 | ||||
-rw-r--r-- | drivers/mfd/ucb1x00-assabet.c | 2 | ||||
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 2 | ||||
-rw-r--r-- | drivers/mfd/ucb1x00-ts.c | 2 | ||||
-rw-r--r-- | include/linux/mfd/mcp.h (renamed from drivers/mfd/mcp.h) | 2 | ||||
-rw-r--r-- | include/linux/mfd/ucb1x00.h (renamed from drivers/mfd/ucb1x00.h) | 4 |
7 files changed, 9 insertions, 7 deletions
diff --git a/drivers/mfd/mcp-core.c b/drivers/mfd/mcp-core.c index 57271cb3b316..84815f9ef636 100644 --- a/drivers/mfd/mcp-core.c +++ b/drivers/mfd/mcp-core.c | |||
@@ -17,11 +17,11 @@ | |||
17 | #include <linux/device.h> | 17 | #include <linux/device.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <linux/string.h> | 19 | #include <linux/string.h> |
20 | #include <linux/mfd/mcp.h> | ||
20 | 21 | ||
21 | #include <mach/dma.h> | 22 | #include <mach/dma.h> |
22 | #include <asm/system.h> | 23 | #include <asm/system.h> |
23 | 24 | ||
24 | #include "mcp.h" | ||
25 | 25 | ||
26 | #define to_mcp(d) container_of(d, struct mcp, attached_device) | 26 | #define to_mcp(d) container_of(d, struct mcp, attached_device) |
27 | #define to_mcp_driver(d) container_of(d, struct mcp_driver, drv) | 27 | #define to_mcp_driver(d) container_of(d, struct mcp_driver, drv) |
diff --git a/drivers/mfd/mcp-sa11x0.c b/drivers/mfd/mcp-sa11x0.c index 62b32dabf629..212189815c8e 100644 --- a/drivers/mfd/mcp-sa11x0.c +++ b/drivers/mfd/mcp-sa11x0.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/spinlock.h> | 19 | #include <linux/spinlock.h> |
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | #include <linux/mfd/mcp.h> | ||
22 | 23 | ||
23 | #include <mach/dma.h> | 24 | #include <mach/dma.h> |
24 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
@@ -28,7 +29,6 @@ | |||
28 | 29 | ||
29 | #include <mach/assabet.h> | 30 | #include <mach/assabet.h> |
30 | 31 | ||
31 | #include "mcp.h" | ||
32 | 32 | ||
33 | struct mcp_sa11x0 { | 33 | struct mcp_sa11x0 { |
34 | u32 mccr0; | 34 | u32 mccr0; |
diff --git a/drivers/mfd/ucb1x00-assabet.c b/drivers/mfd/ucb1x00-assabet.c index 86fed4870f93..cea9da60850d 100644 --- a/drivers/mfd/ucb1x00-assabet.c +++ b/drivers/mfd/ucb1x00-assabet.c | |||
@@ -14,10 +14,10 @@ | |||
14 | #include <linux/fs.h> | 14 | #include <linux/fs.h> |
15 | #include <linux/proc_fs.h> | 15 | #include <linux/proc_fs.h> |
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/mfd/ucb1x00.h> | ||
17 | 18 | ||
18 | #include <mach/dma.h> | 19 | #include <mach/dma.h> |
19 | 20 | ||
20 | #include "ucb1x00.h" | ||
21 | 21 | ||
22 | #define UCB1X00_ATTR(name,input)\ | 22 | #define UCB1X00_ATTR(name,input)\ |
23 | static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \ | 23 | static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \ |
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index 60c3988f3cf3..f9de7891e57f 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c | |||
@@ -25,11 +25,11 @@ | |||
25 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
26 | #include <linux/device.h> | 26 | #include <linux/device.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/mfd/ucb1x00.h> | ||
28 | 29 | ||
29 | #include <mach/dma.h> | 30 | #include <mach/dma.h> |
30 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
31 | 32 | ||
32 | #include "ucb1x00.h" | ||
33 | 33 | ||
34 | static DEFINE_MUTEX(ucb1x00_mutex); | 34 | static DEFINE_MUTEX(ucb1x00_mutex); |
35 | static LIST_HEAD(ucb1x00_drivers); | 35 | static LIST_HEAD(ucb1x00_drivers); |
diff --git a/drivers/mfd/ucb1x00-ts.c b/drivers/mfd/ucb1x00-ts.c index 61b7d3eb9a2f..000cb414a78a 100644 --- a/drivers/mfd/ucb1x00-ts.c +++ b/drivers/mfd/ucb1x00-ts.c | |||
@@ -30,12 +30,12 @@ | |||
30 | #include <linux/freezer.h> | 30 | #include <linux/freezer.h> |
31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
32 | #include <linux/kthread.h> | 32 | #include <linux/kthread.h> |
33 | #include <linux/mfd/ucb1x00.h> | ||
33 | 34 | ||
34 | #include <mach/dma.h> | 35 | #include <mach/dma.h> |
35 | #include <mach/collie.h> | 36 | #include <mach/collie.h> |
36 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
37 | 38 | ||
38 | #include "ucb1x00.h" | ||
39 | 39 | ||
40 | 40 | ||
41 | struct ucb1x00_ts { | 41 | struct ucb1x00_ts { |
diff --git a/drivers/mfd/mcp.h b/include/linux/mfd/mcp.h index c093a93b8808..be95e09fd746 100644 --- a/drivers/mfd/mcp.h +++ b/include/linux/mfd/mcp.h | |||
@@ -10,6 +10,8 @@ | |||
10 | #ifndef MCP_H | 10 | #ifndef MCP_H |
11 | #define MCP_H | 11 | #define MCP_H |
12 | 12 | ||
13 | #include <mach/dma.h> | ||
14 | |||
13 | struct mcp_ops; | 15 | struct mcp_ops; |
14 | 16 | ||
15 | struct mcp { | 17 | struct mcp { |
diff --git a/drivers/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h index a8ad8a0ed5db..eac346336382 100644 --- a/drivers/mfd/ucb1x00.h +++ b/include/linux/mfd/ucb1x00.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/mfd/ucb1x00.h | 2 | * linux/include/mfd/ucb1x00.h |
3 | * | 3 | * |
4 | * Copyright (C) 2001 Russell King, All Rights Reserved. | 4 | * Copyright (C) 2001 Russell King, All Rights Reserved. |
5 | * | 5 | * |
@@ -10,6 +10,7 @@ | |||
10 | #ifndef UCB1200_H | 10 | #ifndef UCB1200_H |
11 | #define UCB1200_H | 11 | #define UCB1200_H |
12 | 12 | ||
13 | #include <linux/mfd/mcp.h> | ||
13 | #define UCB_IO_DATA 0x00 | 14 | #define UCB_IO_DATA 0x00 |
14 | #define UCB_IO_DIR 0x01 | 15 | #define UCB_IO_DIR 0x01 |
15 | 16 | ||
@@ -100,7 +101,6 @@ | |||
100 | #define UCB_MODE_DYN_VFLAG_ENA (1 << 12) | 101 | #define UCB_MODE_DYN_VFLAG_ENA (1 << 12) |
101 | #define UCB_MODE_AUD_OFF_CAN (1 << 13) | 102 | #define UCB_MODE_AUD_OFF_CAN (1 << 13) |
102 | 103 | ||
103 | #include "mcp.h" | ||
104 | 104 | ||
105 | struct ucb1x00_irq { | 105 | struct ucb1x00_irq { |
106 | void *devid; | 106 | void *devid; |