[RFC] fix compilation in mcp-core.c

2005-07-26 Thread Pavel Machek
Hi!

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


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(>attached_device);
+   device_unregister(>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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[RFC] fix compilation in mcp-core.c

2005-07-26 Thread Pavel Machek
Hi!

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


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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/