diff options
author | Russell King <rmk@arm.linux.org.uk> | 2006-01-05 09:39:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 14:26:08 -0500 |
commit | 413b486e18587fd53c9954252e6648f9450c734e (patch) | |
tree | de5bb0cea40571fb97d93b54746cf21f214df971 /drivers/mfd | |
parent | 4866b124a1ded3b94b0cea0bd543f46ffa9a3943 (diff) |
[PATCH] Add MCP bus_type probe and remove methods
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/mcp-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/mcp-core.c b/drivers/mfd/mcp-core.c index 55ba23075c90..75f401d52fda 100644 --- a/drivers/mfd/mcp-core.c +++ b/drivers/mfd/mcp-core.c | |||
@@ -77,6 +77,8 @@ static int mcp_bus_resume(struct device *dev) | |||
77 | static struct bus_type mcp_bus_type = { | 77 | static struct bus_type mcp_bus_type = { |
78 | .name = "mcp", | 78 | .name = "mcp", |
79 | .match = mcp_bus_match, | 79 | .match = mcp_bus_match, |
80 | .probe = mcp_bus_probe, | ||
81 | .remove = mcp_bus_remove, | ||
80 | .suspend = mcp_bus_suspend, | 82 | .suspend = mcp_bus_suspend, |
81 | .resume = mcp_bus_resume, | 83 | .resume = mcp_bus_resume, |
82 | }; | 84 | }; |
@@ -227,8 +229,6 @@ EXPORT_SYMBOL(mcp_host_unregister); | |||
227 | int mcp_driver_register(struct mcp_driver *mcpdrv) | 229 | int mcp_driver_register(struct mcp_driver *mcpdrv) |
228 | { | 230 | { |
229 | mcpdrv->drv.bus = &mcp_bus_type; | 231 | mcpdrv->drv.bus = &mcp_bus_type; |
230 | mcpdrv->drv.probe = mcp_bus_probe; | ||
231 | mcpdrv->drv.remove = mcp_bus_remove; | ||
232 | return driver_register(&mcpdrv->drv); | 232 | return driver_register(&mcpdrv->drv); |
233 | } | 233 | } |
234 | EXPORT_SYMBOL(mcp_driver_register); | 234 | EXPORT_SYMBOL(mcp_driver_register); |