From patchwork Tue May 13 00:29:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 4161821 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 7E8CD9F1C0 for ; Tue, 13 May 2014 00:33:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABABF20222 for ; Tue, 13 May 2014 00:33:07 +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 E7EC7201F5 for ; Tue, 13 May 2014 00:33:06 +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 1Wk0cI-0000jX-61; Tue, 13 May 2014 00:30:46 +0000 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wk0c8-0000Yd-6C for linux-arm-kernel@lists.infradead.org; Tue, 13 May 2014 00:30:36 +0000 Received: by mail-ob0-f170.google.com with SMTP id uy5so9177144obc.29 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=ctOz/ZHp1VPryCKaqsv++JUriJgQ1GwzPtiMdfOV4zA=; b=sYT253UAioTwwwgxh9d0EsQggJCDjaKuwYY0EpN7I5LTXh/ayeqbm5AUzN71rurLWS PiHSNDXL3lA2+s3iWmaawNO8sXKdFZwA1/NTVZ+RiipINDPLuSRbvKeH4H9DLrqzTZea Wj8Od6s94+3dL0yyNEzqu4TUEdLSYVoQ/w7ulcGC6zcr4wMjyAG/936Hrps5pw2SJZCW 33sgWl9nDMNYhqwj+IpOWcAL3A1u8GNpwcNgqR5vaK/YnnKB9dSlQ7Z/K9p3SR092lHl D/CXHxWo/8uHfRtgWutiZoXPvMW0ZFKaw6y1LOYodi2m+AAKa4ZjPQOIfSCKktvkDZYc hv7A== X-Received: by 10.60.115.202 with SMTP id jq10mr38594206oeb.0.1399941013727; Mon, 12 May 2014 17:30:13 -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.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 May 2014 17:30:13 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/7] clk: rockchip: fix function type for CLK_OF_DECLARE Date: Mon, 12 May 2014 19:29:48 -0500 Message-Id: <1399940993-1773-3-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_173036_287706_0BDF48BE X-CRM114-Status: GOOD ( 11.08 ) X-Spam-Score: 0.1 (/) Cc: Rob Herring , Mike Turquette 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 rk2928_gate_clk_init. The function only takes a single struct device_node parameter. Signed-off-by: Rob Herring Cc: Mike Turquette --- drivers/clk/rockchip/clk-rockchip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rockchip.c b/drivers/clk/rockchip/clk-rockchip.c index 967c141..4cf838d5 100644 --- a/drivers/clk/rockchip/clk-rockchip.c +++ b/drivers/clk/rockchip/clk-rockchip.c @@ -24,8 +24,7 @@ static DEFINE_SPINLOCK(clk_lock); * Gate clocks */ -static void __init rk2928_gate_clk_init(struct device_node *node, - void *data) +static void __init rk2928_gate_clk_init(struct device_node *node) { struct clk_onecell_data *clk_data; const char *clk_parent;