From patchwork Tue May 3 15:16:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102395 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp652079qge; Tue, 3 May 2016 08:17:31 -0700 (PDT) X-Received: by 10.98.67.150 with SMTP id l22mr4296312pfi.85.1462288651415; Tue, 03 May 2016 08:17:31 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ww8si4990166pac.4.2016.05.03.08.17.31; Tue, 03 May 2016 08:17:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933471AbcECPRa (ORCPT + 29 others); Tue, 3 May 2016 11:17:30 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:64015 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932756AbcECPR2 (ORCPT ); Tue, 3 May 2016 11:17:28 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue004) with ESMTPA (Nemesis) id 0LhziI-1bSsPa3hbe-00n7sH; Tue, 03 May 2016 17:16:57 +0200 From: Arnd Bergmann To: Sebastian Reichel Cc: Pavel Machek , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] HSI: omap-ssi: add COMMON_CLK dependency Date: Tue, 3 May 2016 17:16:20 +0200 Message-Id: <1462288586-584690-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1462288586-584690-1-git-send-email-arnd@arndb.de> References: <1462288586-584690-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:UesHT7/8jDOGrd3u/ewWPFap/A1RHVO1cr8uTC06FEb2rhJD1IY msDIig1S+ODrIc6yfKdM41I38FwpgzBy6ZGLxwAZeaUgoWZN2R46go0oySXiIxPybK7f+v9 1rrEW+AKBdiCgMpDRaK8p6RueKC4S6OD2/i1iUpeCUag8v4gl0w1ILLfdD5iUzeoswsw9fr kTFOrHpiRlMTWgCvUayTw== X-UI-Out-Filterresults: notjunk:1; V01:K0:wNRnsf6jD2I=:iw2yxxL/8fjL23WcewH2tp 6YsK5XBXdEve4nGpWFgC3b4AnWDHmkf6jss9jkNoap64RDBi9hzaRtw5WL1f86ACMPBUYMIBZ veYguQ24KwD4t2w7hjWDS83CGm91z/Od/KNNb1OICLYJc6PdQHiiBc2EXiBTROJBAR5HfU427 azfPHAfRXR3OJ/asBB7pV9+rD5j2OxYv6tT8CE4L0n2Q3AKLb9I+LzsCs6cP9FYeZkCP16zXF cMguZtShsMlvEaAiVV6CSm1qmPkmEI5VRRtNPtvyYJ7PywaGsUAjwub5/K47VsTmC+atWN7+q gKpQPSd0BElakajOw0GSZe/aZ9Q3bySbgq6gpkcIqWZRGzbjUvlvUCGvwPv4ZrlB2YFiaFCKU 4XYV8ptgBh5U8cudwzyqD75y3IoURW+4Cv9Djh15wqmgJThaEM/8RzblXpxT9YuR8y8uoiUsW KAZ7n+Mo9qG18PNCs0XNk2qGb2zcID+ZWm8TB0R1cXAeGb4M8VhGLokUqV1d1a1iwY9zCs7/G QvNmGbW6QbqqFmoUtEhKZ79coNOmnawKZkyUtWMOUDK7f1OiQR2OKLV6BgvVeizkqEuVeUXC0 EpN5+wLBI3YB+PRA0CXq8RE2huD8fnNucD9l5TXE1qpa8hTfw1Y7YeFS9EI9OzQ+9GU92axxS TKzFYFF//T1pVmmF1YOqBL39CVrUwlUYcWrntAnIELUoe5VOvuUvhwmxMdGN2k1SOa8k= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enabling the omap ssi driver without COMMON_CLK results in a build failure: drivers/hsi/controllers/omap_ssi_core.c: In function 'ssi_clk_event': drivers/hsi/controllers/omap_ssi_core.c:304:7: error: 'PRE_RATE_CHANGE' undeclared (first use in this function) This adds a Kconfig dependency to avoid the invalid configuration. Signed-off-by: Arnd Bergmann Fixes: 4bcf7414528a ("HSI: omap-ssi: add clk change support") --- drivers/hsi/controllers/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.0 diff --git a/drivers/hsi/controllers/Kconfig b/drivers/hsi/controllers/Kconfig index 084ec97eec64..48e4eda186cc 100644 --- a/drivers/hsi/controllers/Kconfig +++ b/drivers/hsi/controllers/Kconfig @@ -5,7 +5,8 @@ comment "HSI controllers" config OMAP_SSI tristate "OMAP SSI hardware driver" - depends on HSI && OF && (ARCH_OMAP3 || (ARM && COMPILE_TEST)) + depends on HSI && OF && ARM && COMMON_CLK + depends on ARCH_OMAP3 || COMPILE_TEST ---help--- SSI is a legacy version of HSI. It is usually used to connect an application engine with a cellular modem.