From patchwork Sat Jan 16 16:35:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOpbWV0aCBNw6FydG9u?= X-Patchwork-Id: 2468 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Sat, 16 Jan 2010 16:35:45 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Sat, 16 Jan 2010 19:43:23 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NWBcn-0004nK-6V; Sat, 16 Jan 2010 16:35:45 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752824Ab0APQfn (ORCPT + 1 other); Sat, 16 Jan 2010 11:35:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751698Ab0APQfn (ORCPT ); Sat, 16 Jan 2010 11:35:43 -0500 Received: from mail02d.mail.t-online.hu ([84.2.42.7]:57275 "EHLO mail02d.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118Ab0APQfn (ORCPT ); Sat, 16 Jan 2010 11:35:43 -0500 Received: from [192.168.1.64] (dsl5402C406.pool.t-online.hu [84.2.196.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail02d.mail.t-online.hu (Postfix) with ESMTPSA id E172075868B; Sat, 16 Jan 2010 17:33:51 +0100 (CET) Message-ID: <4B51EAD8.70805@freemail.hu> Date: Sat, 16 Jan 2010 17:35:36 +0100 From: =?UTF-8?B?TsOpbWV0aCBNw6FydG9u?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 MIME-Version: 1.0 To: "Igor M. Liplianin" CC: V4L Mailing List Subject: [PATCH] stv0900: make local functions static X-DCC-mail.t-online.hu-Metrics: mail02d.mail.t-online.hu 32711; Body=2 Fuz1=2 Fuz2=2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Márton Németh The functions stv0900_sw_algo() and stv0900_set_dvbs1_track_car_loop() are only used locally so mark them static. This will remove the following sparse warnings (see "make C=1"): * symbol 'stv0900_sw_algo' was not declared. Should it be static? * symbol 'stv0900_set_dvbs1_track_car_loop' was not declared. Should it be static? Signed-off-by: Márton Németh --- -- 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 -r 5bcdcc072b6d linux/drivers/media/dvb/frontends/stv0900_sw.c --- a/linux/drivers/media/dvb/frontends/stv0900_sw.c Sat Jan 16 07:25:43 2010 +0100 +++ b/linux/drivers/media/dvb/frontends/stv0900_sw.c Sat Jan 16 17:34:44 2010 +0100 @@ -193,7 +193,7 @@ return lock; } -int stv0900_sw_algo(struct stv0900_internal *intp, +static int stv0900_sw_algo(struct stv0900_internal *intp, enum fe_stv0900_demod_num demod) { int lock = FALSE, @@ -795,7 +795,7 @@ return prate; } -void stv0900_set_dvbs1_track_car_loop(struct stv0900_internal *intp, +static void stv0900_set_dvbs1_track_car_loop(struct stv0900_internal *intp, enum fe_stv0900_demod_num demod, u32 srate) {