diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-20 17:13:52 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-18 18:15:30 -0500 |
commit | abe06082d07fcb0673cb93338c1d6f037fdc375b (patch) | |
tree | 1ea446f1a77a30f3cb06e19f1af6f2a4ddfb6b6b /include | |
parent | a6aecae29affdd1a84198afe45ef9e13ecbf9826 (diff) |
MFD: mcp/ucb1x00: separate ucb1x00 driver data from the MCP data
Patch taken from 5dd7bf59e0 (ARM: sa11x0: Implement autoloading of codec
and codec pdata for mcp bus.) by Jochen Friedrich <jochen@scram.de>.
This adds just the codec data part of the patch.
Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/mcp.h | 3 | ||||
-rw-r--r-- | include/linux/mfd/ucb1x00.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mfd/mcp.h b/include/linux/mfd/mcp.h index dfe7e517ad9b..bfcdf6d3f1bf 100644 --- a/include/linux/mfd/mcp.h +++ b/include/linux/mfd/mcp.h | |||
@@ -20,7 +20,6 @@ struct mcp { | |||
20 | unsigned int sclk_rate; | 20 | unsigned int sclk_rate; |
21 | unsigned int rw_timeout; | 21 | unsigned int rw_timeout; |
22 | struct device attached_device; | 22 | struct device attached_device; |
23 | int gpio_base; | ||
24 | }; | 23 | }; |
25 | 24 | ||
26 | struct mcp_ops { | 25 | struct mcp_ops { |
@@ -41,7 +40,7 @@ void mcp_disable(struct mcp *); | |||
41 | #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate) | 40 | #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate) |
42 | 41 | ||
43 | struct mcp *mcp_host_alloc(struct device *, size_t); | 42 | struct mcp *mcp_host_alloc(struct device *, size_t); |
44 | int mcp_host_add(struct mcp *); | 43 | int mcp_host_add(struct mcp *, void *); |
45 | void mcp_host_del(struct mcp *); | 44 | void mcp_host_del(struct mcp *); |
46 | void mcp_host_free(struct mcp *); | 45 | void mcp_host_free(struct mcp *); |
47 | 46 | ||
diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h index 4321f044d1e4..731b23a656c0 100644 --- a/include/linux/mfd/ucb1x00.h +++ b/include/linux/mfd/ucb1x00.h | |||
@@ -104,6 +104,9 @@ | |||
104 | #define UCB_MODE_DYN_VFLAG_ENA (1 << 12) | 104 | #define UCB_MODE_DYN_VFLAG_ENA (1 << 12) |
105 | #define UCB_MODE_AUD_OFF_CAN (1 << 13) | 105 | #define UCB_MODE_AUD_OFF_CAN (1 << 13) |
106 | 106 | ||
107 | struct ucb1x00_plat_data { | ||
108 | int gpio_base; | ||
109 | }; | ||
107 | 110 | ||
108 | struct ucb1x00_irq { | 111 | struct ucb1x00_irq { |
109 | void *devid; | 112 | void *devid; |