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: 71532 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1274289qgy; Thu, 7 Jul 2016 01:10:18 -0700 (PDT) X-Received: by 10.66.159.66 with SMTP id xa2mr24184649pab.20.1467879018654; Thu, 07 Jul 2016 01:10:18 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q29si995149pfi.101.2016.07.07.01.10.18; Thu, 07 Jul 2016 01:10:18 -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 S1030435AbcGGIKH (ORCPT + 30 others); Thu, 7 Jul 2016 04:10:07 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35068 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030378AbcGGIEf (ORCPT ); Thu, 7 Jul 2016 04:04:35 -0400 Received: by mail-wm0-f43.google.com with SMTP id z126so138086482wme.0 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=J53zCM9BurG8eQfvFofQ56mb7pbDoA0yDoh4Oy36J/Vqx9g5Sb90Ahm18U0IMgRSXt KEPcvoCJFZCpZvadyLHeqv8IbTp9LDENBZKTzWhS2c8ndNLFtNofGM+Q2KqRzJb6+euB YP79bOh6D3xfCarz3b/N4u6C/gu6WzeYo6abLemco20DCtxAZrO8w8oUv4RsA7LAb1pm LgOt6CLaXjDi30OsiTifceCRb4lYx9+GvDdsRrWbxGpotIMBcLyvmJXWIeX52m+kNmgN KZIEPfZrNqQJdOpU1R4sMeP4fxbw7M3MDIsSgIn5iX73DkV6k+DbAA5vMYXrKub7kWG1 6NhA== X-Gm-Message-State: ALyK8tKZmxoTYT2cTaVMQPvsB6ppZIV7GyQl3ZSe4phLIE65b+it8BB0fKx5f8OYntxggvl3 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-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. */