From patchwork Sat Feb 24 14:58:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10240383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B768B60209 for ; Sat, 24 Feb 2018 14:59:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6D0E29BDD for ; Sat, 24 Feb 2018 14:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 998DA29C1F; Sat, 24 Feb 2018 14:59:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0F6F129BDD for ; Sat, 24 Feb 2018 14:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7PrrrzN777qrljz6u/0CRPN3xNgYin+eRhibqXaJuqA=; b=pYXwwQxxDFuSi2 6iNHJVQ7FSfzZroGWTt71vd4N80Xw+nxDXF+a5nNKQatoyhIto8wlV8Ax4WUosOnFc34QH5o27R9b gVnVEHuQ5t+DqmmaDFnU/t+r8/rqSMFEaR/hZUzaZDICbZ7yJRbq1eKFmsT2ZzC2v7VOTEv0cchuv lWY5LwmprhNru5M6lJC9GMCl3ZATmFfVjhtsBcePIr8qVV8YDPhD0rjoglk0rJQ7SaQYpKBr26xFM oCciuThplLzijpNgSwVHQRieUhvW2H12demazx3Iced9Hl+SGJ+Mou4DOkBm0qBy5USxsbBfWtkKT 5g+g5mBoyhMRaKaUm81w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1epbIU-0002oW-H7; Sat, 24 Feb 2018 14:59:34 +0000 Received: from mga17.intel.com ([192.55.52.151]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epbIO-0002kl-2h for ath10k@lists.infradead.org; Sat, 24 Feb 2018 14:59:31 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2018 06:59:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,388,1515484800"; d="scan'208";a="30381861" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 24 Feb 2018 06:59:15 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1epbIH-000DFi-GY; Sat, 24 Feb 2018 22:59:21 +0800 Date: Sat, 24 Feb 2018 22:58:43 +0800 From: kbuild test robot To: s.gottschall@dd-wrt.com Subject: [RFC PATCH] ath10k: ath10k_register_gpio_chip() can be static Message-ID: <20180224145843.GA55309@roam> References: <20180222111534.31047-1-s.gottschall@dd-wrt.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180222111534.31047-1-s.gottschall@dd-wrt.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180224_065928_206383_5D0A8DB8 X-CRM114-Status: GOOD ( 19.42 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Sebastian Gottschall , ath10k@lists.infradead.org, Sebastian Gottschall , kvalo@codeaurora.org, kbuild-all@01.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 35b91f175b35 ("ath10k: add LED and GPIO controlling support for various chipsets") Signed-off-by: Fengguang Wu --- gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/gpio.c b/drivers/net/wireless/ath/ath10k/gpio.c index a760319..e9ce44b 100644 --- a/drivers/net/wireless/ath/ath10k/gpio.c +++ b/drivers/net/wireless/ath/ath10k/gpio.c @@ -81,7 +81,7 @@ static void ath10k_gpio_pin_set(struct gpio_chip *chip, unsigned offset, } /* register GPIO chip */ -int ath10k_register_gpio_chip(struct ath10k *ar) +static int ath10k_register_gpio_chip(struct ath10k *ar) { struct ath10k_gpiocontrol *gpio = ar->gpio;