From patchwork Fri May 6 22:00:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Rodriguez X-Patchwork-Id: 763282 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p46M0egp031130 for ; Fri, 6 May 2011 22:00:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751404Ab1EFWAV (ORCPT ); Fri, 6 May 2011 18:00:21 -0400 Received: from mail.atheros.com ([12.19.149.2]:13962 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312Ab1EFWAT (ORCPT ); Fri, 6 May 2011 18:00:19 -0400 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Fri, 06 May 2011 14:59:51 -0700 Received: from tux (10.10.11.105) by SC1EXHC-02.global.atheros.com (10.10.20.111) with Microsoft SMTP Server (TLS) id 8.2.213.0; Fri, 6 May 2011 15:00:16 -0700 Received: by tux (sSMTP sendmail emulation); Fri, 06 May 2011 15:00:10 -0700 From: "Luis R. Rodriguez" To: , , , CC: , , , , , , "Luis R. Rodriguez" Subject: [PATCH] x86: fix mrst sparse complaints Date: Fri, 6 May 2011 15:00:09 -0700 Message-ID: <1304719209-26913-1-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.7.4.15.g7811d MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 06 May 2011 22:00:41 +0000 (UTC) This fixes these few sparse complaints: CHECK arch/x86/platform/mrst/mrst.c arch/x86/platform/mrst/mrst.c:197:13: warning: symbol 'mrst_time_init' was not declared. Should it be static? arch/x86/platform/mrst/mrst.c:219:16: warning: symbol 'mrst_arch_setup' was not declared. Should it be static? CC arch/x86/platform/mrst/mrst.o Cc: Roman Gezikov Cc: Joonas Viskari Cc: Andrew Morton Cc: Thomas Gleixner Cc: Allen Kao Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: x86@kernel.org Signed-off-by: Luis R. Rodriguez --- arch/x86/platform/mrst/mrst.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c index 275dbc1..7000e74 100644 --- a/arch/x86/platform/mrst/mrst.c +++ b/arch/x86/platform/mrst/mrst.c @@ -194,7 +194,7 @@ static unsigned long __init mrst_calibrate_tsc(void) return 0; } -void __init mrst_time_init(void) +static void __init mrst_time_init(void) { sfi_table_parse(SFI_SIG_MTMR, NULL, NULL, sfi_parse_mtmr); switch (mrst_timer_options) { @@ -216,7 +216,7 @@ void __init mrst_time_init(void) apbt_time_init(); } -void __cpuinit mrst_arch_setup(void) +static void __cpuinit mrst_arch_setup(void) { if (boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 0x27) __mrst_cpu_chip = MRST_CPU_CHIP_PENWELL;