From patchwork Tue May 13 00:29:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 4161811 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 BF1039F1C0 for ; Tue, 13 May 2014 00:33:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2CA220222 for ; Tue, 13 May 2014 00:33:05 +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 ADBFF201F5 for ; Tue, 13 May 2014 00:33:04 +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 1Wk0cR-0000mi-2Q; Tue, 13 May 2014 00:30:55 +0000 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wk0cA-0000ZB-Jl for linux-arm-kernel@lists.infradead.org; Tue, 13 May 2014 00:30:39 +0000 Received: by mail-ob0-f174.google.com with SMTP id uz6so9064889obc.33 for ; Mon, 12 May 2014 17:30:15 -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 :mime-version:content-type:content-transfer-encoding; bh=GWbY9DAvGCclouAZ8givQYOaNR9d2lSSKemYYR+2vMw=; b=jPnm1FhMKecPhi82zyKfWCxWCQt6GPSns0D5re71ST9qYWtalkYKyUxitQTst8jUe+ YswfcaKRexjxGxbzbnz22stJh1j59PwdmsIAfM8F7STtu/v3e2OKVkTkCJMZPatCeQ4k kM4wlm0wfcm5ctJBjxCT+tSKsNZIvs1fpq4exZLP2hMbXTMM4QGxqrOXTj8/G3tTFOD4 IhX1U+GDsX+QgZ/MXo7GyHqcoJshMHmqTo5p5/GQG7+/tan3DrVMPLz+vUsnMTtfQfbU 6S5vHL2iyjSCXSFP0Lk0BodOkUjsyAu/tcGHNO7WmMkGOVdKxXqvSX+c7krMIGE3CJlv GYdQ== X-Received: by 10.182.22.131 with SMTP id d3mr37757145obf.25.1399941015418; Mon, 12 May 2014 17:30:15 -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.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 May 2014 17:30:14 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/7] clk: sunxi: fix function type for CLK_OF_DECLARE Date: Mon, 12 May 2014 19:29:50 -0500 Message-Id: <1399940993-1773-5-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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140512_173038_763312_CC896F67 X-CRM114-Status: GOOD ( 11.57 ) X-Spam-Score: 0.1 (/) Cc: =?UTF-8?q?Emilio=20L=C3=B3pez?= , Rob Herring , Maxime Ripard , 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: , 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 sunxi_init_clocks. The function takes a single struct device_node parameter. Signed-off-by: Rob Herring Cc: Mike Turquette Cc: "Emilio López" Cc: Maxime Ripard --- drivers/clk/sunxi/clk-sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index 7977106..792773d 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -1309,7 +1309,7 @@ static void __init sunxi_clock_protect(void) } } -static void __init sunxi_init_clocks(void) +static void __init sunxi_init_clocks(struct device_node *np) { /* Register factor clocks */ of_sunxi_table_clock_setup(clk_factors_match, sunxi_factors_clk_setup);