From patchwork Mon Feb 11 23:18:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 2126431 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id B6ED3DF2A1 for ; Mon, 11 Feb 2013 23:22:15 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U52eH-0005tu-7T; Mon, 11 Feb 2013 23:18:57 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U52eE-0005tc-EE for linux-arm-kernel@lists.infradead.org; Mon, 11 Feb 2013 23:18:54 +0000 Received: by mail-pa0-f44.google.com with SMTP id kp1so3309688pab.31 for ; Mon, 11 Feb 2013 15:18:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=LEGcgi58ekS2VSmiIMAEDWk8LQSc69XEa1wwvblkkDI=; b=XDzpvOcBGNWLFUNAlh+PgwRGUJUdvJSpMFm3KXdWQfw3rCcyFvjUilfa/AS83XNdgS oBgLO5vnuc4pVAoQD7aC/xRhHtsXQhqe1agAycKphwd3bl+BZwxJs6+xKJ6n4nc67UfR 0MpSM2oCAPKynjPvaggOTYFMqqBfbsAgZBtaOLh9bLICTbg6uYTCwZHbBNgMbIxHROMd gqWp6Ssewa+Zq8hPBhobNkXMdFd3e3+LtwN0Zx0aMErDoj4SdVX2U1dJIlXg9FcRnZEN U5GG6BZdxxRoHSn2+tLU3AmcPsf93jrv0P7hwgHC/QiTYqf7Zl7KofzMwX8QL2xstMF4 jkGw== X-Received: by 10.66.74.234 with SMTP id x10mr45746981pav.10.1360624732212; Mon, 11 Feb 2013 15:18:52 -0800 (PST) Received: from quad.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPS id a4sm69913774paw.21.2013.02.11.15.18.48 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 15:18:49 -0800 (PST) From: Olof Johansson To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm: arch_timer: add missing inline in stub function Date: Mon, 11 Feb 2013 15:18:43 -0800 Message-Id: <1360624723-10749-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.8.1.192.gc4361b8 X-Gm-Message-State: ALoCoQn0zlAhL+FkxExmjp4zP/KairDRQGWaTjvauOaFmUWkzuEoKBKot+vUVPnYFhvpuR8CMIDT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130211_181854_561062_250C8FCD X-CRM114-Status: GOOD ( 10.71 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.44 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Mark Rutland , Marc Zyngier , Olof Johansson , Will Deacon , Catalin Marinas X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes: In file included from arch/arm/include/asm/arch_timer.h:10:0, from arch/arm/mach-shmobile/timer.c:23: include/clocksource/arm_arch_timer.h:56:28: warning: 'arch_timer_get_timecounter' defined but not used [-Wunused-function] Signed-off-by: Olof Johansson --- Will, Mark, Marc, I've applied this on next/virt already since it started spewing pretty heavily on a lot of defconfig builds. Just posting FYI. include/clocksource/arm_arch_timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clocksource/arm_arch_timer.h b/include/clocksource/arm_arch_timer.h index b61f996..2603267 100644 --- a/include/clocksource/arm_arch_timer.h +++ b/include/clocksource/arm_arch_timer.h @@ -53,7 +53,7 @@ static inline u64 arch_timer_read_counter(void) return 0; } -static struct timecounter *arch_timer_get_timecounter(void) +static inline struct timecounter *arch_timer_get_timecounter(void) { return NULL; }