From patchwork Fri Jul 22 14:08: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: 9243695 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 3A0A7607D3 for ; Fri, 22 Jul 2016 14:08:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B1B527D76 for ; Fri, 22 Jul 2016 14:08:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FA4C27FA7; Fri, 22 Jul 2016 14:08:32 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 AA99B27D76 for ; Fri, 22 Jul 2016 14:08:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754368AbcGVOI3 (ORCPT ); Fri, 22 Jul 2016 10:08:29 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34503 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751454AbcGVOI2 (ORCPT ); Fri, 22 Jul 2016 10:08:28 -0400 Received: by mail-pf0-f196.google.com with SMTP id g202so7384855pfb.1 for ; Fri, 22 Jul 2016 07:08:28 -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=LLSRVDScyWBX7fUuGRofywu69PNatAGOJEuBZDLHHbw=; b=jJIFRno/uIKl45wqLBrv7+Fo1hfbpGIpzydPLZbPxGhTx/qNIZ1nHXi9lBfK5XINg/ v5SHHOSE1c22+QlM41PDmCaFfChArVYtfo0Wssff5ruEg7MWHlKnbyJvwUQPBNWywnO7 lLbPKXzwo/wzwFs3kLAuOJoWKrtCYLZVrn7oVRXUESX6kw73kNmyFU4d3Ntai7eDC7zc UWqPDp/FfwOjUPw428s4no8UYsOIsR2tXPl+nSxyfWPYdBbcbyzPZOYavT8+FCkN96Hx BW6oOGXWCkDEgl7hZoRqvK5WcS5sC4UpJlrqZb3YdSKbGVl2vWaHFK+YEjrBb1gsO4nO 1KXA== 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=LLSRVDScyWBX7fUuGRofywu69PNatAGOJEuBZDLHHbw=; b=jSRPIAEVd7O+WhEFQTep6F3yBrP09Ir0xy1Lkpq7FRlocaF3Q7L9ZVH0s4cO1mDy5U VkRO2Ji6JqkWqfNw9BZEAG0vgP4VjbOgjnJH1DAKxLZFoLcWA5xvjs+unysHLxvm6q9s zbwELGSvSho6mYX/G1q87Tvxrfw3R3LiHCzx4TBnGMY4ovFEjZCK0403pDoDwReL7aYA T5C6FK9ecN1qJ+PQuhOuR3JgRdlT2PSV9oq3rPQekSx94pfItkemSEFxSdFG2M+X/rCb Cq8DPWu2NM/s+3zyEIS4bOoO6ug8ckd7Ceq0cV6H7l1qqMTyTJm3Cu8fuEnYALGQYxSV W+Ww== X-Gm-Message-State: AEkooutD/ylEExOv6rVCxcIgIKhPRWjruuy8NOW4eU/KHJ1ItUOI9v1YxqxVKHO7Lec2oA== X-Received: by 10.98.216.199 with SMTP id e190mr6824312pfg.123.1469196507990; Fri, 22 Jul 2016 07:08:27 -0700 (PDT) Received: from localhost.localdomain.localdomain (ec2-52-193-137-233.ap-northeast-1.compute.amazonaws.com. [52.193.137.233]) by smtp.gmail.com with ESMTPSA id 75sm20444159pfw.92.2016.07.22.07.08.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jul 2016 07:08:27 -0700 (PDT) From: Wei Yongjun To: Kalle Valo , "Andrew F. Davis" , Arnd Bergmann , Igor Grinberg , Uri Mashiach , Rob Herring , "Reizer, Eyal" Cc: Wei Yongjun , linux-wireless@vger.kernel.org Subject: [PATCH -next] wlcore: spi: fix non static symbol warning Date: Fri, 22 Jul 2016 14:08:08 +0000 Message-Id: <1469196488-21050-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 Fixes the following sparse warning: drivers/net/wireless/ti/wlcore/spi.c:87:34: warning: symbol 'wilink_data' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/net/wireless/ti/wlcore/spi.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/ti/wlcore/spi.c b/drivers/net/wireless/ti/wlcore/spi.c index 6d24040..0ed526e 100644 --- a/drivers/net/wireless/ti/wlcore/spi.c +++ b/drivers/net/wireless/ti/wlcore/spi.c @@ -84,7 +84,7 @@ struct wilink_familiy_data { char name[8]; }; -const struct wilink_familiy_data *wilink_data; +static const struct wilink_familiy_data *wilink_data; static const struct wilink_familiy_data wl18xx_data = { .name = "wl18xx",