From patchwork Sun Dec 16 07:26:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 1884461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 739633FCD5 for ; Sun, 16 Dec 2012 07:29:08 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tk8cR-0003Ro-Un; Sun, 16 Dec 2012 07:26:40 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tk8cO-0003R9-Nk for linux-arm-kernel@lists.infradead.org; Sun, 16 Dec 2012 07:26:37 +0000 Received: by mail-pb0-f49.google.com with SMTP id un15so2967264pbc.36 for ; Sat, 15 Dec 2012 23:26:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=jhrFsrvncvWiI22IbOXVw8k/0cVzv2Jxz2K311DELAM=; b=oIypejzOm5NjiZA42wAIIV74ITGwzFot6FudpD45rl+12DyqmwEnWRynsIL13ccY5E DjFbl+QEFpnBiWh+4JZaFMMyWn6+WITbO+1zODBvGL1Sr1DMNwx/hTAvbLBwvA19QVsA Yw48f90SRM5E7jKqXBqCg8dB1ta98dt4nUN6846Oua7onwd1zQyhHCBnz//ccD/gTIwf BBEE60yCVqDzlKQyQZeEXguOQwrs26vXlFA8CK3vjGqN86rcpTSKZtMsHIxW463WKyjh 4xqNR8Bh14QQDcJ+uw+Wqwo8BUAdgSlXpai061R68LaytmwTBHy+wvI1a98U3lirOZX5 eZbA== Received: by 10.68.194.6 with SMTP id hs6mr31666048pbc.77.1355642795861; Sat, 15 Dec 2012 23:26:35 -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 k2sm6310143paw.24.2012.12.15.23.26.33 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Dec 2012 23:26:34 -0800 (PST) From: Olof Johansson To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: exynos: Fix warning due to missing 'inline' in stub Date: Sat, 15 Dec 2012 23:26:20 -0800 Message-Id: <1355642780-26929-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.7.10.1.488.g05fbf7a X-Gm-Message-State: ALoCoQmwW0oQ5TKhKa/+A2IBo5l701Y41EevkZkEpBGFVYZOdtwqcAu2BlPA64RfQq+kySdgrY1T X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121216_022636_918115_DFEF6877 X-CRM114-Status: GOOD ( 10.44 ) 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.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Olof Johansson , Kukjin Kim , Shawn Guo 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 In file included from arch/arm/mach-exynos/clock-exynos5.c:29:0: arch/arm/mach-exynos/common.h:28:12: warning: 'exynos_pm_late_initcall' defined but not used [-Wunused-function] Signed-off-by: Olof Johansson Cc: Kukjin Kim Cc: Shawn Guo --- I've added this to the fixes branch on arm-soc. I've also noticed that every single non-EXYNOS5 board/config fails to build. Kukjin? arch/arm/mach-exynos/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index dac146d..04744f9 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -25,7 +25,7 @@ void exynos_init_late(void); #ifdef CONFIG_PM_GENERIC_DOMAINS int exynos_pm_late_initcall(void); #else -static int exynos_pm_late_initcall(void) { return 0; } +static inline int exynos_pm_late_initcall(void) { return 0; } #endif #ifdef CONFIG_ARCH_EXYNOS4