From patchwork Fri Mar 27 08:27:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 46396 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 17BA321585 for ; Fri, 27 Mar 2015 08:27:54 +0000 (UTC) Received: by wibfv9 with SMTP id fv9sf2979921wib.1 for ; Fri, 27 Mar 2015 01:27:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=hNkQ3isR7z6pS53omeEXl+AVNNd4VVSYuxK5ZiAcJPk=; b=F9fjROkSRk5NjB4cXL/oIotcXv4BYvuVxby0pEIiqoRSZnWBcSGZ0z+Hzd473VeVJK /FAv+ha/dMEsg2uYCUJ6rV4nBXkRFALv2VW8vnkWLVtOgx1bFN1tIjpGcflrhIs2R9My IaKNcnZBKy6EiMSqLpMuves751RJX+UzsjUG/1Z5Axom5IPdE6Tv5zwjdAXVws7hOxu4 W9XnC7y0uoPTqz0T7myF8LMaXgU3V1dU7cUr1Hy0MKyg4IwZTKtRzlHGMt/e5g+Aertd +MsGQqlL18tWS9im1cQTBSwkF59hV8d+2i0lwtZy5VkfD+rObb8IPbi11xQ2B4qEA3KJ 4GHA== X-Gm-Message-State: ALoCoQlKaj42ZsDg9/NYKQnDeCL81U7E7agihtOkykpzFKNuCxkIRZNBaycEkIjdhOBpRnzfNqjZ X-Received: by 10.112.125.67 with SMTP id mo3mr4287920lbb.6.1427444873291; Fri, 27 Mar 2015 01:27:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.172 with SMTP id dd12ls150001lad.53.gmail; Fri, 27 Mar 2015 01:27:53 -0700 (PDT) X-Received: by 10.112.162.167 with SMTP id yb7mr16513275lbb.76.1427444873087; Fri, 27 Mar 2015 01:27:53 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id js4si911511lab.171.2015.03.27.01.27.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 01:27:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by labto5 with SMTP id to5so64966043lab.0 for ; Fri, 27 Mar 2015 01:27:52 -0700 (PDT) X-Received: by 10.112.46.74 with SMTP id t10mr16604809lbm.73.1427444872826; Fri, 27 Mar 2015 01:27:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1110048lbq; Fri, 27 Mar 2015 01:27:52 -0700 (PDT) X-Received: by 10.70.30.225 with SMTP id v1mr33849706pdh.104.1427444871025; Fri, 27 Mar 2015 01:27:51 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id we7si1902991pac.68.2015.03.27.01.27.50; Fri, 27 Mar 2015 01:27:50 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330AbbC0I1t (ORCPT + 1 other); Fri, 27 Mar 2015 04:27:49 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:32828 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753113AbbC0I1s (ORCPT ); Fri, 27 Mar 2015 04:27:48 -0400 Received: by labto5 with SMTP id to5so64964689lab.0 for ; Fri, 27 Mar 2015 01:27:47 -0700 (PDT) X-Received: by 10.112.48.107 with SMTP id k11mr1588833lbn.92.1427444867272; Fri, 27 Mar 2015 01:27:47 -0700 (PDT) Received: from localhost.localdomain (c-d37f71d5.01-192-6c756e10.cust.bredbandsbolaget.se. [213.113.127.211]) by mx.google.com with ESMTPSA id x7sm221430lag.3.2015.03.27.01.27.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 01:27:46 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij Subject: [PATCH] gpio: altera: staticize probe function Date: Fri, 27 Mar 2015 09:27:42 +0100 Message-Id: <1427444862-5812-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This is not to be globally visible. Reported-by: kbuild test robot Signed-off-by: Linus Walleij --- drivers/gpio/gpio-altera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 4d41196b3f13..449fb46cb8a0 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -256,7 +256,7 @@ static void altera_gpio_irq_leveL_high_handler(unsigned int irq, chained_irq_exit(chip, desc); } -int altera_gpio_probe(struct platform_device *pdev) +static int altera_gpio_probe(struct platform_device *pdev) { struct device_node *node = pdev->dev.of_node; int reg, ret;