From patchwork Tue Jun 28 10:31:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 71007 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1510144qgy; Tue, 28 Jun 2016 03:35:44 -0700 (PDT) X-Received: by 10.66.42.102 with SMTP id n6mr585995pal.60.1467110144034; Tue, 28 Jun 2016 03:35:44 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wb5si24952393pab.201.2016.06.28.03.35.43; Tue, 28 Jun 2016 03:35:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753083AbcF1Ke6 (ORCPT + 30 others); Tue, 28 Jun 2016 06:34:58 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:36615 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753033AbcF1Keo (ORCPT ); Tue, 28 Jun 2016 06:34:44 -0400 Received: by mail-wm0-f53.google.com with SMTP id f126so133948600wma.1 for ; Tue, 28 Jun 2016 03:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PTlQmUq/3HIj+F/6EqT1FB3xhDe2S73jpifacjtDSKw=; b=XeISluzTYOkNsAHQf1Lc6wxtRfeY6B8JjwXjc8bTyhPCCjqKRKfq5twDdWeGvyUb9/ FmtySPyPrT+jzGu9aTt8eU2wYzuzlFfJQUoQUB4xsQpEolYrlHIW4fKbjIa1y8wNdTCk CKGIHG5ChND4HcdwQjKRbuUK9qLFhP/CI1LDM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PTlQmUq/3HIj+F/6EqT1FB3xhDe2S73jpifacjtDSKw=; b=Zvi+EKnENrUYf7IoAh4+luIOy6wSgpsUvVaYoCNP2Kz2fpUohxHEu/6AAMQhKpSpxq fbQDKOXOimqz0R9ImQLLeUJ+Ofe43B+0Z3Vj2/EhVCgEGEfFUrE7qYPr431smcIpRlR4 UchNyZvADsdJUsQgLqXnCwA8VgdUpXSVrcdVwWlwAhaiCXjmt1xp/5pxOq/oBNuo9VFy RW8lHakmfcBsIaYYXk5iBcMQZaGnexzShz4JKPCeZrXSs6jaavQUEa9C4ehXCAPBQdCD lU8uFcyd0l+A+wakoOg2TKNfPEl0BAkyUKlJLq4+UWPMLLZ4OSl4KoBdUAxo0jmawJDV hoSA== X-Gm-Message-State: ALyK8tIRe7XCH6B6q7J1ym4xrLdtAd5qpTU7cLqoqjtoWXqT35rK98ReYwBThf4X1jp/ryc2 X-Received: by 10.194.86.38 with SMTP id m6mr2618631wjz.154.1467110083157; Tue, 28 Jun 2016 03:34:43 -0700 (PDT) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id a84sm5377403wma.0.2016.06.28.03.34.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 03:34:42 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 73/92] clk: Add missing clk_get_sys() stub Date: Tue, 28 Jun 2016 12:31:32 +0200 Message-Id: <1467109911-11060-73-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467109911-11060-1-git-send-email-daniel.lezcano@linaro.org> References: <577251A4.7030508@linaro.org> <1467109911-11060-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When compiling with the COMPILE_TEST option set, the clps711x does not compile because of the clk_get_sys() noop stub missing. Signed-off-by: Daniel Lezcano Reviewed-by: Michael Turquette --- include/linux/clk.h | 4 ++++ 1 file changed, 4 insertions(+) -- 1.9.1 diff --git a/include/linux/clk.h b/include/linux/clk.h index 0df4a51..834179f 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -461,6 +461,10 @@ static inline struct clk *clk_get_parent(struct clk *clk) return NULL; } +static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id) +{ + return NULL; +} #endif /* clk_prepare_enable helps cases using clk_enable in non-atomic context. */