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: 9202639 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C6FEE60757 for ; Tue, 28 Jun 2016 10:36:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B83A5285F2 for ; Tue, 28 Jun 2016 10:36:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC08F285F6; Tue, 28 Jun 2016 10:36:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 448C2285F2 for ; Tue, 28 Jun 2016 10:36:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbcF1Kev (ORCPT ); Tue, 28 Jun 2016 06:34:51 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:34262 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753034AbcF1Keo (ORCPT ); Tue, 28 Jun 2016 06:34:44 -0400 Received: by mail-wm0-f53.google.com with SMTP id 187so26449836wmz.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=iiHvi2F3We/Oa5wnsRGIckfE0MWfBzLP5WkoATvhk1kJn/bpTh3RJ44igsMP7ClDOw OF4iP8fl98m+/bJZcShDJq4CaVZzgHIeLNPOxftc9nrnWYJbM52VTcbLFQWdRm8tVbJg jn3e9whDREEjeTdTqYRspAvEov+SsP/oUHo3YWwatXTJrcmjreOzFvBBHg2wqMJnX2ki wKWXuTIKtMT2z9JktuqOwSz+hfEW51dde0RfBbr80wua93uYZ08TuvPyepHwxQ9JRwF3 K+tLTzVx9gT5awfOoBLTqRsmrK6C8DafAmHy3gmMI/JPSPcneVAVRNhThaUW/1Na75+w vjmg== X-Gm-Message-State: ALyK8tLY2HDJH4Wtbu/GC+Nz65AdWQQJAIsSrxJUpPkk+VVxJDb1tQrk1cwLIJ4vMVfqFCH6 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-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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. */