From patchwork Mon Jun 17 09:36:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17946 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3CCDC23971 for ; Mon, 17 Jun 2013 09:51:23 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id c1sf3413747qcz.5 for ; Mon, 17 Jun 2013 02:51:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:mime-version:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=oO4wtcTz43FiBzoLDd6F46+Bx5pcyUp11C4G9KdvqAA=; b=V4+cluclYoS9T989J5ZPVubYCk1qPhKbaR4Kh0jaQqd5sZvcXoYJKrnR8lvmrPeZI+ YaE3H+GCWkCOGMT8RJSw/KU1SaPmM+liMSpLonHNHQE7+O92tC0m6q+yKoxOewE+YjyB GtpfRgGdGg+9VarrMU4w1mxNFqI99D466LXrxEtELXQA96X7uLaTVNyG+T9Us3WF0izh Bofs+DeM1SQipXksfo5AjwruufZtjiy0a+T1TSQLkmTnzJVNHLqQQmp8KxyNhe0xhm2e RAqjDaaQmN0R7a+hKam6eqHCgs088o1x9NO5vzHMjBDyUd5tfE8ldeyS4fMpT/N19DXV j6lw== X-Received: by 10.236.88.231 with SMTP id a67mr2351201yhf.39.1371462682722; Mon, 17 Jun 2013 02:51:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.74.169 with SMTP id u9ls990521qev.32.gmail; Mon, 17 Jun 2013 02:51:22 -0700 (PDT) X-Received: by 10.221.23.9 with SMTP id qy9mr4289189vcb.67.1371462682491; Mon, 17 Jun 2013 02:51:22 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id vl1si2747008veb.56.2013.06.17.02.51.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Jun 2013 02:51:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hf12so1805228vcb.15 for ; Mon, 17 Jun 2013 02:51:22 -0700 (PDT) X-Received: by 10.220.105.9 with SMTP id r9mr4292423vco.60.1371462682397; Mon, 17 Jun 2013 02:51:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp27640veb; Mon, 17 Jun 2013 02:51:21 -0700 (PDT) X-Received: by 10.68.134.103 with SMTP id pj7mr5075537pbb.171.1371462681534; Mon, 17 Jun 2013 02:51:21 -0700 (PDT) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [2607:f8b0:400e:c01::232]) by mx.google.com with ESMTPS id ad8si5983418pbd.6.2013.06.17.02.51.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Jun 2013 02:51:21 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::232 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::232; Received: by mail-pb0-f50.google.com with SMTP id wz7so2569644pbc.23 for ; Mon, 17 Jun 2013 02:51:21 -0700 (PDT) X-Received: by 10.66.190.104 with SMTP id gp8mr12546142pac.84.1371462681003; Mon, 17 Jun 2013 02:51:21 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id vz8sm14233374pac.20.2013.06.17.02.51.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Jun 2013 02:51:20 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, linus.walleij@linaro.org, sachin.kamat@linaro.org, patches@linaro.org, Doug Anderson Subject: [PATCH 1/1] pinctrl: exynos: Fix build breakage Date: Mon, 17 Jun 2013 15:06:36 +0530 Message-Id: <1371461796-5061-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmu9ELmq45rpJeZ7NsRv6TBLxaK1HBtxg9Z8FSFJveRIjYJItcHZF3Ieg19/t5AsC783MQ9 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 'exynos_wkup_irq_mask' should be defined ahead of its call. Fixes the following error: drivers/pinctrl/pinctrl-exynos.c: In function ‘exynos_wkup_irq_mask’: drivers/pinctrl/pinctrl-exynos.c:299:3: error: implicit declaration of function ‘exynos_wkup_irq_ack’ [-Werror=implicit-function-declaration] exynos_wkup_irq_ack(irqd); Signed-off-by: Sachin Kamat Cc: Doug Anderson --- drivers/pinctrl/pinctrl-exynos.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/pinctrl/pinctrl-exynos.c b/drivers/pinctrl/pinctrl-exynos.c index 8cd5bf5..f9277bc 100644 --- a/drivers/pinctrl/pinctrl-exynos.c +++ b/drivers/pinctrl/pinctrl-exynos.c @@ -279,6 +279,15 @@ err_domains: return ret; } +static void exynos_wkup_irq_ack(struct irq_data *irqd) +{ + struct samsung_pin_bank *b = irq_data_get_irq_chip_data(irqd); + struct samsung_pinctrl_drv_data *d = b->drvdata; + unsigned long pend = d->ctrl->weint_pend + b->eint_offset; + + writel(1 << irqd->hwirq, d->virt_base + pend); +} + static void exynos_wkup_irq_mask(struct irq_data *irqd) { struct samsung_pin_bank *b = irq_data_get_irq_chip_data(irqd); @@ -307,15 +316,6 @@ static void exynos_wkup_irq_mask(struct irq_data *irqd) spin_unlock_irqrestore(&b->slock, flags); } -static void exynos_wkup_irq_ack(struct irq_data *irqd) -{ - struct samsung_pin_bank *b = irq_data_get_irq_chip_data(irqd); - struct samsung_pinctrl_drv_data *d = b->drvdata; - unsigned long pend = d->ctrl->weint_pend + b->eint_offset; - - writel(1 << irqd->hwirq, d->virt_base + pend); -} - static void exynos_wkup_irq_unmask(struct irq_data *irqd) { struct samsung_pin_bank *b = irq_data_get_irq_chip_data(irqd);