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

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Wed Jun 22 09:21:43 EDT 2011


Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
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




More information about the linux-arm-kernel mailing list