From patchwork Thu Sep 6 19:42:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 1417491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id D8370E00B2 for ; Thu, 6 Sep 2012 19:46:34 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9hyo-0001Xe-TV; Thu, 06 Sep 2012 19:43:11 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T9hya-0001Vs-Vn for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2012 19:42:57 +0000 Received: by mail-ob0-f177.google.com with SMTP id ta17so3313757obb.36 for ; Thu, 06 Sep 2012 12:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=gUDutop8PBf90WI6mBP5ZSIN7kjoh/5WKGxXNd+2uLw=; b=BhuIPdh0Qub9l9U8K/8xEIazHr0hPixw+VscKiLzmmEkVI4QUwOUMEY9f0Z5DT1mye ROnMEZPNGnjP2Oie0T+3ipxaM6dyVlQcQJ3w6YF7LpR+w7Ztd9NemHg5vra+nA4VEatJ 5cruIoaepfX+qzErMmfPAtZEvAZftPBiujJGzQcqRX7a2YycdR9Gia3A0SdH4Gj5oNbR Z1t6srvikniETOAdPgXclbwsSByJt3epCrKaSUNXeyE/sE5I9nq1r6F9Nq7jbExZAjsY UEvbRPLEZ6jNiu/0kZsrergPDdDV4zppIH4zvwEQsuX+RLpXiTRbCbQbgrseMRB503Z1 8fwg== Received: by 10.60.170.47 with SMTP id aj15mr3598697oec.29.1346960576740; Thu, 06 Sep 2012 12:42:56 -0700 (PDT) Received: from rob-laptop.calxeda.com ([173.226.190.126]) by mx.google.com with ESMTPS id th3sm2754774obb.6.2012.09.06.12.42.54 (version=SSLv3 cipher=OTHER); Thu, 06 Sep 2012 12:42:54 -0700 (PDT) From: Rob Herring To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/6] usb: pxa27x_udc: remove IRQ_USB define Date: Thu, 6 Sep 2012 14:42:38 -0500 Message-Id: <1346960563-18689-2-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1346960563-18689-1-git-send-email-robherring2@gmail.com> References: <1346960563-18689-1-git-send-email-robherring2@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (robherring2[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (robherring2[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -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 Cc: Eric Miao , Arnd Bergmann , Greg Kroah-Hartman , Linus Walleij , Rob Herring , Olof Johansson , Russell King X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 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 From: Rob Herring IRQ_USB was implicitly included by gpio.h. Use the existing variable instead of IRQ_USB. Signed-off-by: Rob Herring Cc: Eric Miao Cc: Greg Kroah-Hartman Acked-by: Eric Miao --- drivers/usb/gadget/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 644b430..7a8713c 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -2508,7 +2508,7 @@ static int __init pxa_udc_probe(struct platform_device *pdev) IRQF_SHARED, driver_name, udc); if (retval != 0) { dev_err(udc->dev, "%s: can't get irq %i, err %d\n", - driver_name, IRQ_USB, retval); + driver_name, udc->irq, retval); goto err_irq; } retval = usb_add_gadget_udc(&pdev->dev, &udc->gadget);