From patchwork Thu Jan 12 15:32:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9513443 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 BC86E60710 for ; Thu, 12 Jan 2017 15:32:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB979286DB for ; Thu, 12 Jan 2017 15:32:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DFA9286E4; Thu, 12 Jan 2017 15:32:47 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 31450286DB for ; Thu, 12 Jan 2017 15:32:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751000AbdALPck (ORCPT ); Thu, 12 Jan 2017 10:32:40 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35929 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbdALPci (ORCPT ); Thu, 12 Jan 2017 10:32:38 -0500 Received: by mail-pf0-f196.google.com with SMTP id b22so3989651pfd.3 for ; Thu, 12 Jan 2017 07:32:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QKKDZls5lGnRi/PpzWriWlhm6byhve/B08qMPWda17c=; b=kbOkviiDBSyoGYBfxKV7ydB8+MTm/gB3Y8y6KvRy0/a3dEwB7tDhfaUjgI0kzIY44A /pGzRCu+o77dOQ75ZmRkcpKxxo8ml4wG44nB4jHGgcMd3uEWkU8MuVM4zKN9Dmqafhgr NK4BrI6BsJe1/gtiG6JHySR61VKtwzrxF5AoPPDI22l9WW8F2byaNLwwvz1Gml4HMRiH 55yVVMdYxHEv4tvkvHBrzHgIp9j1uuD99m19sFRKOWpwCrd67eKNZbdWxBp+vxsBJKqJ ASMDsdaJZB9JLKfTeegKLajLkNzZFO/889QVRaWi5Nx+S61aGRcX6O5ky3oC9ITUYRHQ FXgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QKKDZls5lGnRi/PpzWriWlhm6byhve/B08qMPWda17c=; b=ou9w4ngbbOfrdVtNw7wCup8PEg6QIeWOTLucqm3NhUVXMm1fwJTAd/EaZjlXcEWb8D gBmgrxFPPYcuFLhJ4/vgFblk2rybI7cpY1bVcPnm8VbzsMzMg0OQwOPRjIkxKUIRAErw EIVvybYcnEpl45tlozK0VVsgQeXMJFaj0oHTVZ+eKUnTzIkDzVWVk9M94AQ5BY8tL2ro FDhnFFDOmBZC0saoF5MxAh1jvBo/MrrvmcXvunZIrIGikcHD/TMzWgHu/4XFVF0/swFE gPKkpMkeOtw4bmU6NNEo6gQQpvNSay4umVk2061V1GPOgSJtoJ6AbQIHvBFTdihGcBTu znYA== X-Gm-Message-State: AIkVDXK5z9RCZNbNjsOwPMnMRX3gWk/mfN/ktGirlo44sQz+X48i8N8HwVQTM40cr3HCQw== X-Received: by 10.84.131.2 with SMTP id 2mr14294005pld.45.1484235153384; Thu, 12 Jan 2017 07:32:33 -0800 (PST) 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 i10sm22681873pgd.37.2017.01.12.07.32.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 07:32:32 -0800 (PST) From: Wei Yongjun To: Mauro Carvalho Chehab Cc: Wei Yongjun , linux-media@vger.kernel.org Subject: [PATCH -next] gp8psk: make local symbol gp8psk_fe_ops static Date: Thu, 12 Jan 2017 15:32:29 +0000 Message-Id: <20170112153229.21309-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/media/usb/dvb-usb/gp8psk.c:281:28: warning: symbol 'gp8psk_fe_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/media/usb/dvb-usb/gp8psk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" 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/media/usb/dvb-usb/gp8psk.c b/drivers/media/usb/dvb-usb/gp8psk.c index 2360e7e..7dc3bdd 100644 --- a/drivers/media/usb/dvb-usb/gp8psk.c +++ b/drivers/media/usb/dvb-usb/gp8psk.c @@ -278,7 +278,7 @@ static int gp8psk_fe_reload(void *priv) return gp8psk_bcm4500_reload(d); } -const struct gp8psk_fe_ops gp8psk_fe_ops = { +static const struct gp8psk_fe_ops gp8psk_fe_ops = { .in = gp8psk_fe_in, .out = gp8psk_fe_out, .reload = gp8psk_fe_reload,