From patchwork Tue May 13 00:29:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 4161791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 820B29F334 for ; Tue, 13 May 2014 00:33:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AAD4A20222 for ; Tue, 13 May 2014 00:32:59 +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 DD90E201F5 for ; Tue, 13 May 2014 00:32:58 +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 1Wk0c9-0000g6-WB; Tue, 13 May 2014 00:30:38 +0000 Received: from mail-oa0-x229.google.com ([2607:f8b0:4003:c02::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wk0c6-0000YS-HG for linux-arm-kernel@lists.infradead.org; Tue, 13 May 2014 00:30:35 +0000 Received: by mail-oa0-f41.google.com with SMTP id m1so9285186oag.0 for ; Mon, 12 May 2014 17:30:13 -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:in-reply-to:references; bh=D23Idxf7NPB3qERMxjzQse4BjNy2oB8M2D0tBgMc96s=; b=zZgxJI3+fmt5V5R9GyplbKTZChMMuXtoy1pTjgb/fSTXz4pwNSBfMi8ULT7FPSP5J5 WC+3klGFka8gCgG+epqe2fWbSsHRPw8zELXF2FtMALDqsciBAG0tcmJQOZaXFwlG/yii US4edwe08GqPY3TjtuGDxs2n4PH3CMoCBVrxtL+tLuWn8DWRIXJJzAR1FIQFxIgvjERp yMlzn7idi7icKx6vjR5mpD1XPz4uq0Z+s1/pIig0HI6v8sgCa4Mel+cv2whXAa2Os61w P4JNAQAAe565oe/UPZA2npH66zWDGj082zng5eiY/RtWoWwxvYEGhOuwAmIr0o9h2r7h dOOA== X-Received: by 10.60.83.73 with SMTP id o9mr7368272oey.56.1399941012969; Mon, 12 May 2014 17:30:12 -0700 (PDT) Received: from localhost.localdomain (72-48-77-163.dyn.grandenetworks.net. [72.48.77.163]) by mx.google.com with ESMTPSA id ml9sm54101053oeb.2.2014.05.12.17.30.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 May 2014 17:30:12 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE Date: Mon, 12 May 2014 19:29:47 -0500 Message-Id: <1399940993-1773-2-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399940993-1773-1-git-send-email-robherring2@gmail.com> References: <1399940993-1773-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140512_173034_628675_74856D90 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: 0.1 (/) Cc: Rob Herring , Sascha Hauer , Shawn Guo 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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Rob Herring Adding function type checking to CLK_OF_DECLARE found a type mismatch with mx35_clocks_init_dt. The function should return void. Signed-off-by: Rob Herring Cc: Shawn Guo Cc: Sascha Hauer Acked-by: Shawn Guo --- arch/arm/mach-imx/clk-imx35.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c index a4d5e42..71c86a2 100644 --- a/arch/arm/mach-imx/clk-imx35.c +++ b/arch/arm/mach-imx/clk-imx35.c @@ -289,14 +289,12 @@ int __init mx35_clocks_init(void) return 0; } -static int __init mx35_clocks_init_dt(struct device_node *ccm_node) +static void __init mx35_clocks_init_dt(struct device_node *ccm_node) { clk_data.clks = clk; clk_data.clk_num = ARRAY_SIZE(clk); of_clk_add_provider(ccm_node, of_clk_src_onecell_get, &clk_data); mx35_clocks_init(); - - return 0; } CLK_OF_DECLARE(imx35, "fsl,imx35-ccm", mx35_clocks_init_dt);