From patchwork Mon Mar 24 21:31:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 3884521 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C2032BF540 for ; Mon, 24 Mar 2014 21:32:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 009CD2020A for ; Mon, 24 Mar 2014 21:32:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 227BA200F0 for ; Mon, 24 Mar 2014 21:32:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751070AbaCXVcl (ORCPT ); Mon, 24 Mar 2014 17:32:41 -0400 Received: from mail-bk0-f43.google.com ([209.85.214.43]:57383 "EHLO mail-bk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750921AbaCXVcl (ORCPT ); Mon, 24 Mar 2014 17:32:41 -0400 Received: by mail-bk0-f43.google.com with SMTP id v15so464bkz.2 for ; Mon, 24 Mar 2014 14:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:mime-version :content-transfer-encoding; bh=nFUKRdIX1d0bnnvbGEFyPJDogfuf6ZRZvME0FNq++BY=; b=ucAbPKm6TxkHd0zgcfdMnoGMXfDK85IXjIQ92Lon4ycc/HizAvyORZ9DRJouGF8qD7 hK8X7RS6Q7o1AEjTbPdUgxbFSkr75ry9rvMHvX/2Fcp68jIbSW2vkwMrTCyRpKGlwo8L ZJTKG85AQbFy+Uu8HE9+9dQK9oK+IV97457u/z1OWyBRxniujLNXPe8dz/jRFIglBkcq SRN+YoPky/rKZ7GgdnOXIa30pvlmkP3bnFXLYB6e85ndJlBhX87EJ/L3Pj9vR4fkNC0m i1vjwyK2+0L2IoRhj+lOtG2KIuPnvzdhKRDD5AWXF7jlzyQPhSmA1ufYfk4lmQZkCDEJ 8A2Q== X-Received: by 10.204.180.67 with SMTP id bt3mr37068274bkb.16.1395696759765; Mon, 24 Mar 2014 14:32:39 -0700 (PDT) Received: from [192.168.1.100] (94.196.240.196.threembb.co.uk. [94.196.240.196]) by mx.google.com with ESMTPSA id oa10sm15970465bkb.14.2014.03.24.14.32.25 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 24 Mar 2014 14:32:38 -0700 (PDT) Message-ID: <1395696718.2999.2.camel@canaries64-MCP7A> Subject: [PATCH] m88rs2000: fix sparse static warnings. From: Malcolm Priestley To: linux-media@vger.kernel.org Date: Mon, 24 Mar 2014 21:31:58 +0000 X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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 warnings m88rs2000.c:300:16: warning: symbol 'm88rs2000_setup' was not declared. Should it be static? m88rs2000.c:318:16: warning: symbol 'm88rs2000_shutdown' was not declared. Should it be static? m88rs2000.c:328:16: warning: symbol 'fe_reset' was not declared. Should it be static? m88rs2000.c:366:16: warning: symbol 'fe_trigger' was not declared. Should it be static? Signed-off-by: Malcolm Priestley --- drivers/media/dvb-frontends/m88rs2000.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb-frontends/m88rs2000.c b/drivers/media/dvb-frontends/m88rs2000.c index 32cffca..d63bc9c 100644 --- a/drivers/media/dvb-frontends/m88rs2000.c +++ b/drivers/media/dvb-frontends/m88rs2000.c @@ -297,7 +297,7 @@ struct inittab { u8 val; }; -struct inittab m88rs2000_setup[] = { +static struct inittab m88rs2000_setup[] = { {DEMOD_WRITE, 0x9a, 0x30}, {DEMOD_WRITE, 0x00, 0x01}, {WRITE_DELAY, 0x19, 0x00}, @@ -315,7 +315,7 @@ struct inittab m88rs2000_setup[] = { {0xff, 0xaa, 0xff} }; -struct inittab m88rs2000_shutdown[] = { +static struct inittab m88rs2000_shutdown[] = { {DEMOD_WRITE, 0x9a, 0x30}, {DEMOD_WRITE, 0xb0, 0x00}, {DEMOD_WRITE, 0xf1, 0x89}, @@ -325,7 +325,7 @@ struct inittab m88rs2000_shutdown[] = { {0xff, 0xaa, 0xff} }; -struct inittab fe_reset[] = { +static struct inittab fe_reset[] = { {DEMOD_WRITE, 0x00, 0x01}, {DEMOD_WRITE, 0x20, 0x81}, {DEMOD_WRITE, 0x21, 0x80}, @@ -363,7 +363,7 @@ struct inittab fe_reset[] = { {0xff, 0xaa, 0xff} }; -struct inittab fe_trigger[] = { +static struct inittab fe_trigger[] = { {DEMOD_WRITE, 0x97, 0x04}, {DEMOD_WRITE, 0x99, 0x77}, {DEMOD_WRITE, 0x9b, 0x64},