[RFC] fix compilation in mcp-core.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux