From patchwork Fri Dec 20 02:22:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 3385371 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 73BD99F314 for ; Fri, 20 Dec 2013 02:22:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B25B1206AA for ; Fri, 20 Dec 2013 02:22:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E01FD206AD for ; Fri, 20 Dec 2013 02:22:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932094Ab3LTCWx (ORCPT ); Thu, 19 Dec 2013 21:22:53 -0500 Received: from mail-bk0-f43.google.com ([209.85.214.43]:35084 "EHLO mail-bk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932085Ab3LTCWx (ORCPT ); Thu, 19 Dec 2013 21:22:53 -0500 Received: by mail-bk0-f43.google.com with SMTP id mz12so1000780bkb.30 for ; Thu, 19 Dec 2013 18:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=fZ03U5xLYGzRdXyfvwnHyUtNdeGVxCXw7gBZISQqNBQ=; b=UuFmEUD1AP7lSyRbpveKtP0UunJcF8mVjSrnN/C7Ee21FdPNIuDRUtsrY3vpg6bufy zPSHHl5sJSB1kUw8z9/V4XmsjrKkElswMUDxNJl+s9cxXDVeRGmTPRSY1EB6QtUvj7J6 QN9eXNE/BaQkOxJJ5/UNjn18BzNtHgwp0z4NVcpk0vWdwM04dWruMVexQPCmdXt+ZROj qZMck2x8sfDmwr42v0E1ReqLaxWdBa+WIgAxM5EWGO4A/+0LYSK3JXlOT6Qgd4JDSWqM cS2VNfd/zh8sl0CYU6BDBnGzyrmUSngYNZzsJgEnQUOXZOcw9h4Oq7Pp4UMNA4qiuLGX UX1w== MIME-Version: 1.0 X-Received: by 10.204.167.141 with SMTP id q13mr3269900bky.2.1387506172095; Thu, 19 Dec 2013 18:22:52 -0800 (PST) Received: by 10.204.74.130 with HTTP; Thu, 19 Dec 2013 18:22:51 -0800 (PST) Date: Fri, 20 Dec 2013 10:22:51 +0800 Message-ID: Subject: [PATCH -next] ath9k: fix sparse non static symbol warning From: Wei Yongjun To: ath9k-devel@qca.qualcomm.com, linville@tuxdriver.com, c_manoha@qca.qualcomm.com Cc: yongjun_wei@trendmicro.com.cn, linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/net/wireless/ath/ath9k/spectral.c:500:24: warning: symbol 'rfs_spec_scan_cb' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/net/wireless/ath/ath9k/spectral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/wireless/ath/ath9k/spectral.c b/drivers/net/wireless/ath/ath9k/spectral.c index 11adb5e..99f4de9 100644 --- a/drivers/net/wireless/ath/ath9k/spectral.c +++ b/drivers/net/wireless/ath/ath9k/spectral.c @@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry) return 0; } -struct rchan_callbacks rfs_spec_scan_cb = { +static struct rchan_callbacks rfs_spec_scan_cb = { .create_buf_file = create_buf_file_handler, .remove_buf_file = remove_buf_file_handler, };