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: 348182 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id EDA0F14007E for ; Tue, 13 May 2014 10:33:18 +1000 (EST) 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 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (robherring2[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (robherring2[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Cc: Rob Herring , Sascha Hauer , Shawn Guo 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: 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);