From patchwork Tue Nov 1 14:48:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9407491 X-Patchwork-Delegate: kvalo@adurom.com 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 CCB8F600C8 for ; Tue, 1 Nov 2016 14:48:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCF7D29993 for ; Tue, 1 Nov 2016 14:48:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B120E29995; Tue, 1 Nov 2016 14:48:23 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80C9F29993 for ; Tue, 1 Nov 2016 14:48:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033997AbcKAOsU (ORCPT ); Tue, 1 Nov 2016 10:48:20 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35231 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966527AbcKAOsU (ORCPT ); Tue, 1 Nov 2016 10:48:20 -0400 Received: by mail-pf0-f196.google.com with SMTP id i88so532768pfk.2 for ; Tue, 01 Nov 2016 07:48:19 -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:mime-version :content-transfer-encoding; bh=Tf3Zc6F7GO5sEwMXOASvf0T6JUO0cT0jXS60wfMmrD0=; b=ovYayZKohGflpdCidbpwBG6eqZChKWn58oyUyxoTrUcww0CaAUGI7ks2KnALKPtNFq cOIyp7V9QVFi46uRrDjYWjPQZaVsFqMrDm3Nzr2KLpmP/Ap4/k2an4WInTOlMBZiZJld bzrgpYlOnfqY3qF46+RoM4CCBUY0u3wTzoqasPctheccvG1K4gmYeG8VGvWsZ0rxlnPq EwNJH2CYJC/eST29TD7C54EGKAo8kB22XaadfAEbGyPgJgMkTPdnxIPBtkAnLzGNrjHc RBOXmrH83tuXMxuynO010Hplmqhq+ub1/Shzirp9W0ucoAr26D6Zt2nYEeeLh8b07yx+ McYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tf3Zc6F7GO5sEwMXOASvf0T6JUO0cT0jXS60wfMmrD0=; b=ODZcNj7pCKdiouO114cEslzU7qlSlOb2R7ANebBxan4DcefLrqDFeU1yRQFY5DDxz5 Zah2Ikuerf3VU4EK2ENPfY18YeNwdtvAz5nJMssdZMo3Huc32KprLZx22Gs2WC8wvN0q f8NW7oL2ktkIPnwgjlyOT++q6U9xxAA9OKOmK7htKTOTBTUNdEeHcyvkiZGJGX7lvNz2 acWG2swMMTzRbQ6qgXANsdCPj3+cF5XZAuVrN5pR+WklIAPXAoKpJVTv5j0jBg+foVC9 eczJBYwYdfnsRW9XIP9uATmC/nK800Hr7uazgT9j7w/IqUYG3C1xvGHIv70nqQZmZb79 A6pw== X-Gm-Message-State: ABUngvc/aHkrZlTmf0DwpEaJ7nl3r6CMhbWLzMkRflYhdZqT2alKvzWPuaHWylI5OvLuFw== X-Received: by 10.99.129.200 with SMTP id t191mr50059843pgd.180.1478011699376; Tue, 01 Nov 2016 07:48:19 -0700 (PDT) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id m69sm27342346pfg.39.2016.11.01.07.48.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Nov 2016 07:48:18 -0700 (PDT) From: Wei Yongjun To: Jes Sorensen , Kalle Valo Cc: Wei Yongjun , linux-wireless@vger.kernel.org Subject: [PATCH net-next] rtl8xxxu: Fix non static symbol warning Date: Tue, 1 Nov 2016 14:48:08 +0000 Message-Id: <1478011688-26698-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c:1559:6: warning: symbol 'rtl8192eu_power_off' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c index a793fed..a1178c5 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c @@ -1556,7 +1556,7 @@ static int rtl8192eu_power_on(struct rtl8xxxu_priv *priv) return ret; } -void rtl8192eu_power_off(struct rtl8xxxu_priv *priv) +static void rtl8192eu_power_off(struct rtl8xxxu_priv *priv) { u8 val8; u16 val16;