[RFC] fix compilation in mcp-core.c

From: Pavel Machek
Date: Tue Jul 26 2005 - 02:34:18 EST


I had to do this to get mcp-core to compile, but it feels wrong. Where
do I get device_unregister_wait?

diff --git a/drivers/misc/mcp-core.c b/drivers/misc/mcp-core.c
--- a/drivers/misc/mcp-core.c
+++ b/drivers/misc/mcp-core.c
@@ -198,7 +198,7 @@ int mcp_host_register(struct mcp *mcp, s

void mcp_host_unregister(struct mcp *mcp)
- device_unregister_wait(&mcp->attached_device);
+ device_unregister(&mcp->attached_device);

int mcp_driver_register(struct mcp_driver *mcpdrv)

teflon -- maybe it is a trademark, but it should not be.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/