From patchwork Mon Jan 25 21:54:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101095 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1613390lbb; Mon, 25 Jan 2016 13:56:11 -0800 (PST) X-Received: by 10.98.86.67 with SMTP id k64mr29585733pfb.50.1453758971231; Mon, 25 Jan 2016 13:56:11 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si36260057pfr.82.2016.01.25.13.56.10; Mon, 25 Jan 2016 13:56:11 -0800 (PST) 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 S932350AbcAYV4H (ORCPT + 30 others); Mon, 25 Jan 2016 16:56:07 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:63918 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932284AbcAYV4D (ORCPT ); Mon, 25 Jan 2016 16:56:03 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue002) with ESMTPA (Nemesis) id 0MR7U6-1aXH1Y1Svu-00UM71; Mon, 25 Jan 2016 22:55:30 +0100 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Jiri Slaby , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] tty: cyclades: cyz_interrupt is only used for PCI Date: Mon, 25 Jan 2016 22:54:57 +0100 Message-Id: <1453758918-3577213-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1453758918-3577213-1-git-send-email-arnd@arndb.de> References: <1453758918-3577213-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:2lcBxzXneGzi+mThiYcbMd//8jQPDBHNzER/tlPlEI+7LvWT+JT J/Xh0Mzg/1Ha3JXLMjqjte6MrS5gP4H4kjf/YGBE72uscGhr0gPeZKY9PTPktZpTSO2m+bX 8UX8L4SUkfbqRnhpexHLsV6fVfZnkF8mN2wfvme+uE/7GgkFGtr1rCeJQA0yjG6pRiCTbRi dy3RQOYiNok95Rw7eaM3w== X-UI-Out-Filterresults: notjunk:1; V01:K0:sgmQdjIALEU=:mE9erQkTcOIhmPDQ55R0v6 9TKkCBAslHIOmhZX1ARqkVA/TAysd3dOkk9zusO3Y4TZ6G8DjeeVRzsBJDc3N4zpQ5ExeGfBY 29RvBAxZJeQxVmcarXMKvy82TOnALNmo2Q7UUIamZ7ReVrIFscaZQ8EzfcT7n+OR1ID5vMJHJ pvG8YqTQ6tP5+ipR6bSb7d1N+HwTGIRESPbkdZ3j3yXW+pBYfEzl2lG0CKu4uCIL7ko82CY0p NJF34mjK0TTsMx+QjLhUAn1SGqZIKMBvib2OxDRhL37EP1alHSNzA4HCV4TX9Z93JB+vuyBj9 7ufsRse+tRa9vBvOoE4BQACfykxjq3GUhSssIdB4VnPDQ9C/9WB3vb4EixxefmRLr8sg3Cu5s UAWt/5Fn4MBdpOZFT0FMyP+oYH6uHvO3DB7ZsKJX/C/pe0WR0ODZKf/nMmzqWBQXPdqBqy/wn e8CsxOMgasJckXKZYpnSQ5yNG3N8WiSfNPA9TpVialjXKelwypf5UUH8vK9udG3nWIb6dET4o 1JNy/umPpeQmfYOaGj4sS4SpyrGPR5D9YZ2pRLTGPWSeb8i39HczHliI16X823jqZVcqhb9Pp 2Kw83dz2dCqb7bNSiBX1cwIE7BUxHz11Hk1fzJm7un8pMJCgp19U+mckdUdwPLXqx4KBpo7Ga laj1KtUmHsXcJCxVGMI/PaWCD2ydb5kiriayy7ucfdnJdComDlcKPJxn7b8WY3VINTi4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When CONFIG_PCI is not set, enabling CONFIG_CYZ_INTR has no practical effect other than generating a warning about an unused function: drivers/tty/cyclades.c:1184:20: warning: 'cyz_interrupt' defined but not used [-Wunused-function] static irqreturn_t cyz_interrupt(int irq, void *dev_id) This adds a dependency to avoid that warning. Signed-off-by: Arnd Bergmann --- drivers/tty/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.0 diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index c01f45095877..82c4d2e45319 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -226,7 +226,7 @@ config CYCLADES config CYZ_INTR bool "Cyclades-Z interrupt mode operation" - depends on CYCLADES + depends on CYCLADES && PCI help The Cyclades-Z family of multiport cards allows 2 (two) driver op modes: polling and interrupt. In polling mode, the driver will check