From patchwork Tue Jan 28 08:47:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 3545841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B48BFC02DC for ; Tue, 28 Jan 2014 08:48:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE86C20154 for ; Tue, 28 Jan 2014 08:48:26 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 8280A20125 for ; Tue, 28 Jan 2014 08:48:25 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W84L6-0005FS-ST; Tue, 28 Jan 2014 08:48:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W84L4-0007G3-Fz; Tue, 28 Jan 2014 08:48:10 +0000 Received: from mail-ea0-f175.google.com ([209.85.215.175]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W84L1-0007ET-Ad for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2014 08:48:08 +0000 Received: by mail-ea0-f175.google.com with SMTP id z10so56968ead.6 for ; Tue, 28 Jan 2014 00:47:41 -0800 (PST) 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=Si4nnVFp+xlAU8INPEcf31qF4kjWHw73zOKQpZQSiI0=; b=ZOa4oXRM33oJ7AYsebZHWZIzER/zmA6sgfTUoo2gO+UcPeAHPSdBz1TeYZmxf/9kgX qjg9j9MTWQKMTgWjrLFX89iZ32QWBqa0tJHT++ubcVdUzt0SGuC13cpFWtII82Vad8Xx Y4/a4s4OqsWm+FPHprwKqkTLWYqCu6iQcJ6J7699IRMbGskbox/msklLGaqdw7ERB1eu q7SqZsv2m/3Qmx0xrtd7H/aWhng3mJZaKY8EapZ3be2P3S6di4xAbYY9r5NwFLncNUUv 4ODrOAmebdN7KhfNzjIXWsjN3SRTVEDPpsSb8gpUrkwEkW32sbISr+yDxi5Dz5NWeMh4 TNRg== X-Received: by 10.14.53.1 with SMTP id f1mr450301eec.24.1390898861521; Tue, 28 Jan 2014 00:47:41 -0800 (PST) Received: from topkick.lan (dslc-082-083-251-183.pools.arcor-ip.net. [82.83.251.183]) by mx.google.com with ESMTPSA id a8sm47091614eeo.3.2014.01.28.00.47.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jan 2014 00:47:40 -0800 (PST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH] clk: si5351: fix non-DT build breakage Date: Tue, 28 Jan 2014 09:47:29 +0100 Message-Id: <1390898849-761-1-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1390682911-9022-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1390682911-9022-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140128_034807_471479_927F2B3C X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) Cc: Mike Turquette , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 Patch ("clk: si5351: remove variant from platform_data") changed parameters passed to si5351_dt_parse. While it builds fine with CONFIG_OF, the non-DT stub of si5351_dt_parse has not been updated and fails to build there. Signed-off-by: Sebastian Hesselbarth Reported-by: Kbuild Test Robot --- Mike, sorry for that one. Feel free to squash this one into the original patch. Sebastian Cc: Mike Turquette Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/clk/clk-si5351.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c index b95aa09b7aed..e9ee2e12d9cc 100644 --- a/drivers/clk/clk-si5351.c +++ b/drivers/clk/clk-si5351.c @@ -1293,7 +1293,8 @@ static int si5351_dt_parse(struct i2c_client *client, return 0; } #else -static int si5351_dt_parse(struct i2c_client *client) +static int si5351_dt_parse(struct i2c_client *client, + enum si5351_variant variant) { return 0; }