From patchwork Thu Jun 2 21:41: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: 69206 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp327220qgf; Thu, 2 Jun 2016 14:43:16 -0700 (PDT) X-Received: by 10.98.0.21 with SMTP id 21mr623730pfa.81.1464903796699; Thu, 02 Jun 2016 14:43:16 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mu17si1032352pab.29.2016.06.02.14.43.15; Thu, 02 Jun 2016 14:43:16 -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 S932988AbcFBVmH (ORCPT + 31 others); Thu, 2 Jun 2016 17:42:07 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35759 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932438AbcFBVmF (ORCPT ); Thu, 2 Jun 2016 17:42:05 -0400 Received: by mail-wm0-f47.google.com with SMTP id a136so249278868wme.0 for ; Thu, 02 Jun 2016 14:42:04 -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; bh=0PaTRmYk6Cz8o+jsVtuMAs0nBzgKuep61C4/a26X3gQ=; b=eB5rqGXWhjN9uAtrI4u8lnXVTL9/4w5HgloeDZYTEPTDo6wy5FiVFNdQP95DyrSskM mYQ9B4Clsobjlim1yjKi/ObcWPGACwSLSVGoAD7aiAA6/3SjrYut9rC7ZSw5sLSwCWnX olnaUUOwJpiILzwQJBEvglIbIM9SzaNxNjJK8= 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; bh=0PaTRmYk6Cz8o+jsVtuMAs0nBzgKuep61C4/a26X3gQ=; b=GjP7sHDYm1YY1K+Jxh5YDCRJFBsOKXRHn8Y1SBSteIgXVvLfqcUqYdVFNMTOVM7E2g OdIHumDjk7NwlducH6ah2YcNMJ6BGSUjeUQz75ZelYCZFwJsl3Fh5lxX5tAdaWPvTTab EAFnZsvDkqXe5KZRW3lBSGZYNH3b1uvb6NekZzT3JSr3YOPG9ZT1uzcRdOfcx2om1UmQ 5T8qP40k1vxSnuIVzynPG8rWPUYBfaqYP91Mqi2RLbX36pJG4KkpLSn2Gu/mLiFjBdTi YuNlvOgcHhvbGrCC1Zqzh4p/Tnaf3A0WsxaUu4sHr8/yK+y7juufv8dP2lMYrQjGYqsA MP1Q== X-Gm-Message-State: ALyK8tJdMlA2roIDQW8Kz20xjtfotK5Mel7G+VUPCnP4yIIxZbp0ErIBJw/sZ4whiFaP68eB X-Received: by 10.194.5.129 with SMTP id s1mr250522wjs.96.1464903723302; Thu, 02 Jun 2016 14:42:03 -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 c62sm3173705wmd.1.2016.06.02.14.42.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Jun 2016 14:42:02 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Russell King , linux-clk@vger.kernel.org (open list:CLK API) Subject: [PATCH 1/6] clk: Add missing clk_get_sys() stub Date: Thu, 2 Jun 2016 23:41:32 +0200 Message-Id: <1464903697-3802-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 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 --- 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. */