From patchwork Thu Jul 7 08:01:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9218235 X-Patchwork-Delegate: mturquette@baylibre.com 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 1CCBD6048B for ; Thu, 7 Jul 2016 08:10:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11B9A287A4 for ; Thu, 7 Jul 2016 08:10:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0450D287AA; Thu, 7 Jul 2016 08:10:42 +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 85886287A4 for ; Thu, 7 Jul 2016 08:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030412AbcGGIKB (ORCPT ); Thu, 7 Jul 2016 04:10:01 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36568 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030379AbcGGIEf (ORCPT ); Thu, 7 Jul 2016 04:04:35 -0400 Received: by mail-wm0-f54.google.com with SMTP id f126so200165589wma.1 for ; Thu, 07 Jul 2016 01:04:35 -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=SqsDdQKee6g/qMrr9sVJdIYb7WFD28CzwynPnAQeaSp2jl5JX0wXnFsjRCYy82Y55G 5M5QddfWqRvT6E2kINbrLyw9EZ4v/bcZt5FkdCk8oxs996lNqy4aYB6mCIdo6vknqFU+ rjZ7m+Lt54tE+eJngLPYIy4E04M5/ijW2V6Qg= 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=YnEtzHpDSEGO05+bTTvLrLorg8ng0NTBKgyGwAJwSe0/81FcgOxGu8wOAaTegoM5D3 h28yivVYd9/3AXfo8FeJUvsL1rm4GE1Cr6jFxBTlj1TXN2G4bTYe7REnFkHAc7cBlgYA OZzJjqs42Vc8LnKLn7DGZ5Dm1CBac0CwhRiIImbIbf6OomQPf05w/BcS6mc8AZ97fjiM QlDfEdzdbIFmBESrM/A8hMuZvmPfYjbvnkkNcFI4dQLRMwBtmlBhZ0uLZHcghghaKacb cSMGxnskV5XgoI1l1CJFgNWLZpp56S8K7j4KpuvGMkgEkcUNDDdTf5sau/dzr2QvT+Vt J5JA== X-Gm-Message-State: ALyK8tKhvpPo3U7BdvkhETEf86eXg7qztUNaHBEHWTW79rVQeFneAGhuEry1RKuz5TccmhDa X-Received: by 10.28.158.87 with SMTP id h84mr20217863wme.43.1467878674438; Thu, 07 Jul 2016 01:04:34 -0700 (PDT) Received: from localhost.localdomain (lft31-1-88-121-166-205.fbx.proxad.net. [88.121.166.205]) by smtp.gmail.com with ESMTPSA id v70sm51327wmf.18.2016.07.07.01.04.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 01:04:19 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, daniel.lezcano@linaro.org Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 73/93] clk: Add missing clk_get_sys() stub Date: Thu, 7 Jul 2016 10:01:46 +0200 Message-Id: <1467878526-1238-73-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467878526-1238-1-git-send-email-daniel.lezcano@linaro.org> References: <577E0BED.3020608@linaro.org> <1467878526-1238-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. */