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: 4239511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 96A2DBF90B for ; Mon, 26 May 2014 04:21:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF093201C8 for ; Mon, 26 May 2014 04:21:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E1CCE20127 for ; Mon, 26 May 2014 04:21:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WomNT-0007wn-6e; Mon, 26 May 2014 04:19:11 +0000 Received: from mail-pb0-f50.google.com ([209.85.160.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WomNQ-0007vW-WE for linux-arm-kernel@lists.infradead.org; Mon, 26 May 2014 04:19:09 +0000 Received: by mail-pb0-f50.google.com with SMTP id ma3so7105195pbc.9 for ; Sun, 25 May 2014 21:18:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kfcMSR2U/CKFTxKf9tLujnmz4eAl8Vdb/Dlmbo9P4kM=; b=T0eVe1suAyW8aUs8Zo4syRE+0PlwZt3Jd+zXU8EvVhmh2GnUULGtUjnGPMbayycVwO Uq/V3K9B2Q+RS1e8k/H8BuNXPI9Jk3aSQKBr+KRSjU9pjKjIFzerdjU9HSp5+Op8c1Wv QZe8V5slAs7ilhx+B7qoTKJFAeDWfDXGPGJ/MFqpBsOBMmMriECnBQ1O5w2ZWtdrxLEr /R+ccgkB53WotnrS8VLqdVKui55XSvkTMbVOp5E4B5HoCjjn6Q5LiG3EOc0WTu+XbWZp 7WFnrP+tUnBw8Eka8Z6gbUhYP6fnux6qYXrHq2gf6KXmdV0LNIc2IbscAcXaTmWuhMZi yDxg== X-Gm-Message-State: ALoCoQmfGkcBrSnUzoF13Sq0cWCX54Zl42kl7bH5welFVSuZ/1h4w5q78Kv9ZTy74mDHynEwUIfe 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140525_211909_054115_B0356631 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -0.7 (/) Cc: sachin.kamat@linaro.org, kgene.kim@samsung.com, t.figa@samsung.com, linux-samsung-soc@vger.kernel.org, mturquette@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 */