From patchwork Wed Oct 9 16:28:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 281923 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0AA0F2C00CA for ; Thu, 10 Oct 2013 03:28:54 +1100 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTwcw-00062o-3Y; Wed, 09 Oct 2013 16:28:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTwct-0001Al-N1; Wed, 09 Oct 2013 16:28:43 +0000 Received: from mail-ye0-x231.google.com ([2607:f8b0:4002:c04::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTwcp-00019A-EH for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2013 16:28:40 +0000 Received: by mail-ye0-f177.google.com with SMTP id q9so228406yen.36 for ; Wed, 09 Oct 2013 09:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=1n3ZChMmxr0W/EyTi92C+Mw0LsKN8u4FUDzsh4BLYwQ=; b=GOA1xvW8mxWI4d0vOaadTTMMN0YTAZlj572znHsluRpn7efb7kRFv2F/XyQJwJmawU 4MXUChkHx6s3YS7jRHNjGPX123Y933fqU6yt04C18/izgNWbSMuH0B0Dv7R0q+Y54BaK COeUJlUXcUtmiDwjMk1t2hB/G6u9uAneWz1y0EiCVTP9eGUMgxc2mT7wh4skmf+URWd4 HwiFoxHj4d4LSKpF/lwnQHQGSEWd4KzqBf1yYjHSMYT1cOCLE9OU+a9FDH+LGKCkCo7P GXSQsem/yA055kSMZx1ULuj2A2ZzB4dh9Zpph2U+BN1+CJ8nWE+Lq54m+2qJb8LVdJ7I KeMQ== X-Received: by 10.236.100.144 with SMTP id z16mr8019807yhf.9.1381336096699; Wed, 09 Oct 2013 09:28:16 -0700 (PDT) Received: from localhost.localdomain ([201.82.207.53]) by mx.google.com with ESMTPSA id 48sm61899650yhq.11.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Oct 2013 09:28:16 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: mach-imx: clk-imx51-imx53: Remove return value from mx53_clocks_init() Date: Wed, 9 Oct 2013 13:28:07 -0300 Message-Id: <1381336087-19821-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.1.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131009_122839_560346_C96FF480 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org, sebastian.hesselbarth@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam Since commit 4d9d18a56 (ARM: imx: remove custom .init_time hook), mx53_clocks_init() does not return an integer anymore, so adjust it in order to fix the following build warning: arch/arm/mach-imx/clk-imx51-imx53.c:579:2: warning: 'return' with a value, in function returning void [enabled by default] Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/clk-imx51-imx53.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index fa4de9a..ce37af2 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c @@ -575,7 +575,5 @@ static void __init mx53_clocks_init(struct device_node *np) WARN_ON(!base); irq = irq_of_parse_and_map(np, 0); mxc_timer_init(base, irq); - - return 0; } CLK_OF_DECLARE(imx53_ccm, "fsl,imx53-ccm", mx53_clocks_init);