Received: by 10.223.185.116 with SMTP id b49csp1121923wrg; Fri, 23 Feb 2018 12:18:23 -0800 (PST) X-Google-Smtp-Source: AH8x227H9tDLXPmPyuKCPDQJ5IJUnLRW6vG30qOeH3TGOKp1jYXVZPIONt7sl6N41iPNeXe4X+W4 X-Received: by 10.98.75.129 with SMTP id d1mr1190558pfj.19.1519417103323; Fri, 23 Feb 2018 12:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417103; cv=none; d=google.com; s=arc-20160816; b=sRX6laeh/X/9qN4002VAjvcdugOmbO3WMPjvAlUyCodm+P2a04xdsPJwfPj2eG+p34 NKyoHL1Y/iYII2IQHUmLGgnsCCL8L6jrv9fDxa8eGshMjTFYCd/Y9zaz0NEFmASjuify EAXz5LjK9yptoZJVYi18eRqW/MbwPVARa1D/vahLONv4Y5N8Y4xpWRIwiT3YKNKe2YcC Rk3RvXKP9B6UJma+63cBWEGf7AvPn84itbh+lueRVkWNbaN5v7d6iJdgu9AozD20Yhmo k2xcZRswKYcUKSbP/nkIuy+rm8hg2RFz3jwIr9nmVjJw3WW/puGB3YIxAsH9d4ostnmG jRHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=eWiZfStkbz84NoEA6/x0Xn6UY5h66MvJX4EEfOtMQnE=; b=xvNM6WGdkTD6KUphzlFdhHN2yDJ7rN9Nf3A7lyMS6VkJnm7DJEXR9COzgz76qGqKe+ vfN7Twp9YW1EYXN2dvFtrurBo1YxTnbv+ccdZGi+lGRDqFUjA8A2laL2wEluXFRSlRwz Waux8Rjtna2rQImHrlJTRwu1+qcoRwqbhc+n2186ypA3V0Lzu0Q1VMDGiJu1bmi2Ynla L6y5Z7J+CsL3kqGFYfELri0dzEPioClU5bHUljuT/X+dIDQFaiKBIqNeWbIr4tCeT6kR Ha/qE69hNDr31vm7EezjQ+gANigCqP4woEasGVEPtAjz0hVvJoKs+7q4egqskBURmGNZ nEQQ== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13-v6si2339632plj.141.2018.02.23.12.18.08; Fri, 23 Feb 2018 12:18:23 -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 S932580AbeBWSkN (ORCPT + 99 others); Fri, 23 Feb 2018 13:40:13 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39924 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754012AbeBWSkL (ORCPT ); Fri, 23 Feb 2018 13:40:11 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 7FDAB1182; Fri, 23 Feb 2018 18:40:10 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 4.4 122/193] tty: cyclades: cyz_interrupt is only used for PCI Date: Fri, 23 Feb 2018 19:25:55 +0100 Message-Id: <20180223170344.983005864@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 05ead49691d245f67bdd1b30cab5d9af522ac884 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- drivers/tty/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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