From patchwork Tue Sep 30 07:12:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 38122 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 810FA20549 for ; Tue, 30 Sep 2014 07:12:10 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id k14sf7469146wgh.3 for ; Tue, 30 Sep 2014 00:12:09 -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=UBDx80olFeMIE3QMAk+YhSh/g05nWR++MMbiklZwdCs=; b=RyDnhrtrLilXRAZONsI4sywmtEqYCFHMVXuAm6m34RJp3tcNkiZ4NAi5q6FPdjiyLL JYErm2Xzdcetikk1anEGOiNMK8WsApjydNlt658zBzQl8q9tvCri3avwi15WKq51lMe6 7BT8sBkRKGqEmIt6zR5BgZpXcm8TmUWE4XIfy2Jd9zL/6oVh5Uw3jDZ9xMnQA09QI5gw j8MRIK/QI94N6rz5t+d2ZnaLd7LVVvAwK7Kj+Yl6seCdV/7WTOXFXUVndeLNGAfXQFVs HgI0shYw3iV9lXE4kh+K2WJajxUsCW30ddu3a68hReA7e2gEct+hlcIUg0KNqW+KKvY7 bGuA== X-Gm-Message-State: ALoCoQlchLogqNjHdljk47hNUJ5kGFQenFqgNLc/D8CZc6ess3FdrvMYZbNzOytFF9bqhJq/TuCp X-Received: by 10.112.166.40 with SMTP id zd8mr100936lbb.17.1412061129698; Tue, 30 Sep 2014 00:12:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.97 with SMTP id u1ls1051lae.105.gmail; Tue, 30 Sep 2014 00:12:09 -0700 (PDT) X-Received: by 10.152.25.129 with SMTP id c1mr45797947lag.14.1412061129407; Tue, 30 Sep 2014 00:12:09 -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 dy7si21351748lac.28.2014.09.30.00.12.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 00:12:09 -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 mail-la0-f54.google.com with SMTP id gm9so1770958lab.41 for ; Tue, 30 Sep 2014 00:12:09 -0700 (PDT) X-Received: by 10.152.204.231 with SMTP id lb7mr44461234lac.44.1412061129311; Tue, 30 Sep 2014 00:12:09 -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.130.169 with SMTP id of9csp298637lbb; Tue, 30 Sep 2014 00:12:08 -0700 (PDT) X-Received: by 10.66.246.109 with SMTP id xv13mr50776348pac.144.1412061127838; Tue, 30 Sep 2014 00:12:07 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ix2si25854781pbc.250.2014.09.30.00.12.07 for ; Tue, 30 Sep 2014 00:12:07 -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 S1751331AbaI3HMG (ORCPT ); Tue, 30 Sep 2014 03:12:06 -0400 Received: from mail-we0-f175.google.com ([74.125.82.175]:57633 "EHLO mail-we0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751208AbaI3HMG (ORCPT ); Tue, 30 Sep 2014 03:12:06 -0400 Received: by mail-we0-f175.google.com with SMTP id q59so3238219wes.20 for ; Tue, 30 Sep 2014 00:12:04 -0700 (PDT) X-Received: by 10.180.106.232 with SMTP id gx8mr3557799wib.34.1412061124149; Tue, 30 Sep 2014 00:12:04 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id w10sm18182089wje.10.2014.09.30.00.12.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Sep 2014 00:12:03 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij Subject: [PATCH] gpio: staticize xway_stp_init() Date: Tue, 30 Sep 2014 09:12:00 +0200 Message-Id: <1412061120-20557-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 initcall is only called from the driver itself, staticize it. Signed-off-by: Linus Walleij --- drivers/gpio/gpio-stp-xway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 04882a911b65..7e359b7cce1b 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c @@ -292,7 +292,7 @@ static struct platform_driver xway_stp_driver = { }, }; -int __init xway_stp_init(void) +static int __init xway_stp_init(void) { return platform_driver_register(&xway_stp_driver); }