mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] fix compilation in mcp-core.c
@ 2005-07-26  7:33 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-07-26  7:33 UTC (permalink / raw)
  To: rpurdie, lenz, kernel list, rmk

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-26  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26  7:33 [RFC] fix compilation in mcp-core.c Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®