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: 9004731 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 408869F372 for ; Tue, 3 May 2016 15:17:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5ED01202B8 for ; Tue, 3 May 2016 15:17:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 481D420270 for ; Tue, 3 May 2016 15:17:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933258AbcECPR3 (ORCPT ); Tue, 3 May 2016 11:17:29 -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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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.