From patchwork Wed Jun 22 13:21:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 904942 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5MDM8Yr017076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 22 Jun 2011 13:22:30 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QZNNU-0005gq-BN; Wed, 22 Jun 2011 13:21:56 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QZNNT-000098-W2; Wed, 22 Jun 2011 13:21:56 +0000 Received: from mail-wy0-f177.google.com ([74.125.82.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QZNNQ-00008o-PS for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2011 13:21:53 +0000 Received: by wyf23 with SMTP id 23so699445wyf.36 for ; Wed, 22 Jun 2011 06:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=pmFpiw56bb1U6jLesC3aVNPcNq7SjRFrbnt6yTKewoo=; b=sYjUSvJL84qTmtid28oiW3uL6AgcsWhMDHuchLhrksiLmN8iPdW52wFh5nxGi9CoOd qqbsTvpU8OGbC1DbtuxwR4H7NiI2HQTqrI7lUB6aSeduV9PPF6GMlwnI29tSwgk8/CuK yf+mcymTYGkoDK7uzgvXYnnsu6/xTgCZRSptg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=ddxIz1PI6UMzdZMTvE+XKdKbpmBivlzBxDe3dMYN6JIFP8Dd/Dpjc0ITAjq+/maoP+ Ho+fd4ttxroSaRx0n6fESEdRj33egTAqgVU1B2vRafKzbKLe+8FNSb/G0KPbCm5KnLSB TLExb8W9F92ZTENx/aeTb4nxXzLuNRAlEr6Jk= Received: by 10.216.229.222 with SMTP id h72mr737142weq.34.1308748907806; Wed, 22 Jun 2011 06:21:47 -0700 (PDT) Received: from doriath.ww600.siemens.net ([91.213.169.4]) by mx.google.com with ESMTPS id r20sm303555wec.31.2011.06.22.06.21.46 (version=SSLv3 cipher=OTHER); Wed, 22 Jun 2011 06:21:47 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Eric Miao Subject: [PATCH] lubbock-usb: fix compilation due to OTG switching to atomic notifiers Date: Wed, 22 Jun 2011 17:21:43 +0400 Message-Id: <1308748903-18642-1-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.7.5.3 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110622_092153_103915_0CF10557 X-CRM114-Status: GOOD ( 15.22 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (dbaryshkov[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain Cc: linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 22 Jun 2011 13:22:30 +0000 (UTC) Signed-off-by: Dmitry Eremin-Solenikov --- 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: