Skip to contentSkip to conversation

fix compilation in mcp-core.c

RFC New Pavel Machek 1 participant 1 message Jul 26, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

RFC 1/1 fix compilation in mcp-core.c

Hi!

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

drivers/misc/mcp-core.c +1 -1
@@ -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)
Signature · 1 line
teflon -- maybe it is a trademark, but it should not be.