Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2200409ybi; Thu, 18 Jul 2019 04:58:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdwJy1XKnvFYEPE0Hbp/GLmttTZHcF3Jyxzf8/igTf19AvFpodNrg7ialiF1eQWBGFfc19 X-Received: by 2002:a17:902:7288:: with SMTP id d8mr49561550pll.133.1563451112595; Thu, 18 Jul 2019 04:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563451112; cv=none; d=google.com; s=arc-20160816; b=cS9ryG8CPWbR/LZb9hG3nviRtYxGkdq9raBrafSj83Ow8ZISStpRK8hJxhqLdT7LXt yQvGTQwS7ke8HUc4cHEuls7Ig3bXCUw4xkaXIaaV2IDz/6J3kOrM7SLa+G7GD/9/N5zm 2GEjNEwx/FBj97C0PnpV8vXsm1OyWXU+pcNO+faFHcZvNvF1TMSbXEN0OrzzbrOtuESx 91WLk8KGjNmFAp03J3PS2kBapeWYqxmtnPRe6snEyXtwfhxN0LYlIHpvTUu/cYMvz6Go qnoPZOmQDNDQvouyd3PuiJKp6WE9PQMif/w7FQW3jYtaI/KoKO8sEJufYTAWMqX3KFwI hZtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=NH8U6z/3WFnwwAsxn4XDJr2j+izhLMQCadsEWO8uu4E=; b=Ukoq/wSuzPGTHUTra1pnZxkx+fGys/IwY2OAWzJvW37RCf+zFoh4eZkclC/pLgKhsx s1353VmYVubFsq3/wYXHjxyzr9d26HLRhEZtvp68YZoUD2Xj+hFmLyV0p2YDwAIEmi2J wECqRXwKBhwLd3J0ISrpvDBBSFwoCoN1ChfBOg/3f9yRR0j9EFCc+CFm+dmoPUvEwt0N 6HDJiuBjivTZa8FXKpXv9Ol/1OIuBhK27LUyjuaUmOIlbd0AHPSNsjzpyI3zUY16jcI+ sL62yYfkgXmN60BdVfVcP4KHItoaYOnlp8NDBI27xuNGRsJTeAf6quIUW73Oe0yXYlP5 rlxg== 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 c137si1305854pga.80.2019.07.18.04.58.16; Thu, 18 Jul 2019 04:58:32 -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 S2390104AbfGRL5R (ORCPT + 99 others); Thu, 18 Jul 2019 07:57:17 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:43244 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbfGRL5R (ORCPT ); Thu, 18 Jul 2019 07:57:17 -0400 Received: by mail-qk1-f194.google.com with SMTP id m14so20121595qka.10; Thu, 18 Jul 2019 04:57:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NH8U6z/3WFnwwAsxn4XDJr2j+izhLMQCadsEWO8uu4E=; b=ZIV9cRPWUjLFoIgO1uJuFHYji2ICPErmjgs+2wpYge9Cg/uOZ4ptRYSETA//5qVkKJ TgwZwcRaEBFkYwZ/6hcq2x6aI0mnKx3vH/zd23+/HnMfegZOUdv6+YHOrqV33XpN+1J2 V6M1qkIAipgcYQHFxY1yVsSkeHOhrigldC5Yql5jSOl42zqdegRAUx86vGl36sZEG5IP tS1BbRghVvMRWO3NOVnqsfW6BvYnZSiR6Lf02Vlb7ueBaDy+/OSwr/PCcS679RKdBtl+ lHWxKbhtulvEtbvUo9LK59skBXYPOOWi11q9Y6uulVTtndTHAJcSb8erGauTlI1PyrAC muzg== X-Gm-Message-State: APjAAAVk2nbXbxYQ7vMLF6eu77iTycM0KocexkWvq+v7jmHTY6ruKNpk NDrfsbBLdt2QhJ9422QRgVA2lOuwTUh1yklkoLg= X-Received: by 2002:a37:4ac3:: with SMTP id x186mr29240532qka.138.1563451032534; Thu, 18 Jul 2019 04:57:12 -0700 (PDT) MIME-Version: 1.0 References: <20190718020654.39860-1-yuehaibing@huawei.com> <20190718114036.GA2872@innovation.ch> In-Reply-To: <20190718114036.GA2872@innovation.ch> From: Arnd Bergmann Date: Thu, 18 Jul 2019 13:56:55 +0200 Message-ID: Subject: Re: [PATCH] Input: applespi: Fix build error without CONFIG_PCI To: "Life is hard, and then you die" Cc: YueHaibing , Dmitry Torokhov , Hartley Sweeten , Rob Herring , Andy Shevchenko , Linux Kernel Mailing List , "open list:HID CORE LAYER" 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 On Thu, Jul 18, 2019 at 1:40 PM Life is hard, and then you die wrote: > On Thu, Jul 18, 2019 at 10:06:54AM +0800, YueHaibing wrote: > > @@ -74,7 +74,7 @@ config ATARI_KBD_CORE > > config KEYBOARD_APPLESPI > > tristate "Apple SPI keyboard and trackpad" > > depends on ACPI && EFI > > - depends on SPI > > + depends on SPI && PCI > > depends on X86 || COMPILE_TEST > > imply SPI_PXA2XX > > imply SPI_PXA2XX_PCI > > -- > > 2.7.4 > > I think this is more properly fixed by Dmitry's suggestion of making > SPI_PXA2XX_PCI depend on PCI, since it's that module, not applespi, > that actually needs PCI - see > https://www.spinics.net/lists/linux-input/msg62351.html I'll put that into my randconfig setup to see if it's sufficient. I'm a little bit suspicious as the circular dependency was not avoided by the 'depends on X86' for MFD_INTEL_LPSS_PCI. Arnd