DORMANTno replies

[PATCH] lubbock-usb: fix compilation due to OTG switching to atomic notifiers

From: Dmitry Eremin-Solenikov <hidden>
Date: 2011-06-22 13:21:43
Subsystem: the rest, usb subsystem · Maintainers: Linus Torvalds, Greg Kroah-Hartman

Signed-off-by: Dmitry Eremin-Solenikov <redacted>
---
Eric, please fold this patch into your tree, as somewhere between the original
patch I've submitted and the current tree OTG transceiver have switched from
blocking to atomic notifiers.

 drivers/usb/otg/lubbock-usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/otg/lubbock-usb.c b/drivers/usb/otg/lubbock-usb.c
index d18c101..d8b8416 100644
--- a/drivers/usb/otg/lubbock-usb.c
+++ b/drivers/usb/otg/lubbock-usb.c
@@ -123,7 +123,7 @@ static int __devinit lubbock_usb_xceiv_probe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, lubbock);
 
-	BLOCKING_INIT_NOTIFIER_HEAD(&lubbock->notifier);
+	ATOMIC_INIT_NOTIFIER_HEAD(&lubbock->notifier);
 
 	return 0;
 exit:
-- 
1.7.5.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help