aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-20 17:13:52 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-18 18:15:30 -0500
commitabe06082d07fcb0673cb93338c1d6f037fdc375b (patch)
tree1ea446f1a77a30f3cb06e19f1af6f2a4ddfb6b6b /include
parenta6aecae29affdd1a84198afe45ef9e13ecbf9826 (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.h3
-rw-r--r--include/linux/mfd/ucb1x00.h3
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
26struct mcp_ops { 25struct 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
43struct mcp *mcp_host_alloc(struct device *, size_t); 42struct mcp *mcp_host_alloc(struct device *, size_t);
44int mcp_host_add(struct mcp *); 43int mcp_host_add(struct mcp *, void *);
45void mcp_host_del(struct mcp *); 44void mcp_host_del(struct mcp *);
46void mcp_host_free(struct mcp *); 45void 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
107struct ucb1x00_plat_data {
108 int gpio_base;
109};
107 110
108struct ucb1x00_irq { 111struct ucb1x00_irq {
109 void *devid; 112 void *devid;