From patchwork Mon May 26 04:16:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 30918 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7D56B203AC for ; Mon, 26 May 2014 04:18:49 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf38077929obc.0 for ; Sun, 25 May 2014 21:18:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=gEe7VS6LSjUJi3D4Vgsc9fjgLNFufdEhSqMz63mmSA8=; b=RAlpkBWk3UycprTCRD6cWVJ14vz0juG4epFVV+tk7r7zrJLJogd2jmQN+m6Y1VnJTe luthHD4BPvwmULyjkVetxyn7O0ZrMTen3ZEUiIAuD8Fvw2xjLmuGz3V0BUpJepETiAdO +zLXg8ZO7yzCxZ/smcyKW/80YJgDsrvqz1UcBld8xmapfHRmBYJ5+EvGb/mo9KrkAKN7 z8OpLaPh9BmSGdAIg+BqgWKDxBbxVqTgXURDjARRawPFzQ0zGTZgTZvj8pSDZNPNPv7B lWgdXL2EpFjMJrJiePkD+6hRVo6UzUH57pqQRDeOajwuQHmuWwhT0yOJwtI7/jjEmroP B9zw== X-Gm-Message-State: ALoCoQkYDhvWckCN+vbPJyJLhO8QICSbSdIGQOM3QVzfnINgOoHbRE+/WK+qfBSd85TiBh4hFJhw X-Received: by 10.182.246.7 with SMTP id xs7mr9378150obc.15.1401077928832; Sun, 25 May 2014 21:18:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.229 with SMTP id j92ls2479233qgf.14.gmail; Sun, 25 May 2014 21:18:48 -0700 (PDT) X-Received: by 10.58.228.163 with SMTP id sj3mr19151722vec.28.1401077928732; Sun, 25 May 2014 21:18:48 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id qb7si5690709vcb.43.2014.05.25.21.18.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 May 2014 21:18:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so8705321veb.19 for ; Sun, 25 May 2014 21:18:48 -0700 (PDT) X-Received: by 10.52.90.105 with SMTP id bv9mr1784vdb.61.1401077928641; Sun, 25 May 2014 21:18:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp14509vcb; Sun, 25 May 2014 21:18:48 -0700 (PDT) X-Received: by 10.68.163.197 with SMTP id yk5mr24770896pbb.57.1401077927802; Sun, 25 May 2014 21:18:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ai10si13145004pad.94.2014.05.25.21.18.47; Sun, 25 May 2014 21:18:47 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751044AbaEZESq (ORCPT + 9 others); Mon, 26 May 2014 00:18:46 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:34520 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbaEZESp (ORCPT ); Mon, 26 May 2014 00:18:45 -0400 Received: by mail-pa0-f48.google.com with SMTP id rd3so6961787pab.21 for ; Sun, 25 May 2014 21:18:45 -0700 (PDT) X-Received: by 10.68.240.34 with SMTP id vx2mr24963948pbc.1.1401077925222; Sun, 25 May 2014 21:18:45 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id vx10sm52066374pac.17.2014.05.25.21.18.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 May 2014 21:18:44 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, kgene.kim@samsung.com, mturquette@linaro.org, sachin.kamat@linaro.org Subject: [PATCH 1/1] clk/exynos4: Fix compilation warning Date: Mon, 26 May 2014 09:46:28 +0530 Message-Id: <1401077788-31427-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fixes the following warning: WARNING: drivers/built-in.o(.text.unlikely+0x2c50): Section mismatch in reference from the function exynos4_clk_sleep_init() to the (unknown reference) .init.data:(unknown) The function exynos4_clk_sleep_init() references the (unknown reference) __initdata (unknown). This is often because exynos4_clk_sleep_init lacks a __initdata annotation or the annotation of (unknown) is wrong. Signed-off-by: Sachin Kamat Reported-by: kbuild test robot --- drivers/clk/samsung/clk-exynos4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index c4df294bb7fb..4f150c9dd38c 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -324,7 +324,7 @@ static struct syscore_ops exynos4_clk_syscore_ops = { .resume = exynos4_clk_resume, }; -static void exynos4_clk_sleep_init(void) +static void __init exynos4_clk_sleep_init(void) { exynos4_save_common = samsung_clk_alloc_reg_dump(exynos4_clk_regs, ARRAY_SIZE(exynos4_clk_regs)); @@ -359,7 +359,7 @@ err_warn: __func__); } #else -static void exynos4_clk_sleep_init(void) {} +static void __init exynos4_clk_sleep_init(void) {} #endif /* list of all parent clock list */