Received: by 10.192.165.148 with SMTP id m20csp1012570imm; Thu, 10 May 2018 04:21:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoocyEXNDgGRVKrs4MrZavFSwGQy6mLrLGGvDXHC9dtVaGWMXCQe8UGfhdqJvu3dxiKep7/ X-Received: by 2002:a17:902:7896:: with SMTP id q22-v6mr1005375pll.243.1525951298955; Thu, 10 May 2018 04:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525951298; cv=none; d=google.com; s=arc-20160816; b=r5D3iI0z41NzPf7eGFspAgt7PyS7zQXjxEP7IzLpswpZD8o5UvxXb9TAoaCCdVNWLH mB8zJVojGvcJ6JjbedWZbM/BEWLsozIJPa2yj38yZEHnlK7xMRF+dr9AnkIjwTBXwOmW ovgpCNoGkDH5J7sqBEE5IvqxSwkAgd/eaaGsIEBmpiVmW7M4GURLVElibJc+eT/ttLRq Q7mRbsRyEvVPOn721qw4rO3h+Ek2vL8p6jpXZL+kvERan58no4SxJo5TZ0POMywDDOuC S0K7CRbjwukEWIOeNcPo6voPV9FBwKpaFueb1XboWvyQEJ64Qr40QecmmTw3uIKmj19b R0cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=pRZgCl+dlBzZmMHFxyaijg5M+kFOvipzwlL4X15sPy0=; b=ClQeRs4c/pO0+nTwnIVL5ZgwNkTVFnAMq5xMGmEfuLyOBG4eYLNtSLrUVSfvL7ChGn Fi6c9mWPunNsrMBkTgLAEfcCyuOLUnUTwke8GUw2oIjiaIqOv7ExP7rHDrrcg0ZQWi6T EZ/i7xynkolzu/oWVTO29EuJHhna0IrZwjNO2TMbOyiEb9vknUAiIZWtCThIix8bScTB fWaXGENcmZ6qDZqNqgnAym4AGHMKIwCpr1rWHlkwM/hf5FFcyrBuSYeACsQwafZBnIkW fG9vZz/WagcAR6Qgn7EU4CFg8yeavhFt6EHPSDf44UlnXErPV8aNsVLMQ0jnsbeeQFv3 c1Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uDsndQN+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l19-v6si468199pgc.502.2018.05.10.04.21.25; Thu, 10 May 2018 04:21:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uDsndQN+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935170AbeEJLUF (ORCPT + 99 others); Thu, 10 May 2018 07:20:05 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36199 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934002AbeEJLUD (ORCPT ); Thu, 10 May 2018 07:20:03 -0400 Received: by mail-wm0-f67.google.com with SMTP id n10-v6so3723113wmc.1; Thu, 10 May 2018 04:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pRZgCl+dlBzZmMHFxyaijg5M+kFOvipzwlL4X15sPy0=; b=uDsndQN+pGEFm+x+S6FqmQUa5xtzJus/lsAyVLxia3PLAxJfpanyFkixnjXio3sB96 Lc1AXFrECLWDPkHAvZa5+AyirG1owE6jxlhtSKd0/TorHIW2n3KyQtIevqVfFla/4tjt KQpWOS9r0sWxJ5Wcj2M6a43x8FkbADp8YsE76nVJ7rEuSg2w3mgRLKYGgE0VW6FYgmoM taGZGEVpYsIVsEgQc1tG8YM1f/M8HnXzapLq+RKZptS6m6UmjLohExdTR0iBYKpg1I20 fRAdIBzsuw5DcIyipPFAIRO/Z5SrplS0NCb/S0kVrGyEbqzj376FURP4urII+MlXvRQX xehQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pRZgCl+dlBzZmMHFxyaijg5M+kFOvipzwlL4X15sPy0=; b=CaC4KX6J4zlHSeE43IJ6YQMNpf/aKOAfY4W0V018awH6JArCFfgGJO0mVXWEzINw3j qpGX2oR5CORIYx84o7X9qHWzvXMnIYU0LWefIQPFGNknQQWIm/+qds5ZSoJ5BOVLLJ9F kWez/K1tEoN5RnVGw2GrAPBUBbUMC+jZ7ugtYDJwdCSPRKfQmLBr61ullBVvz2OlvZR/ DkKrkM5Ax2Ttiw6t3wDBOQy9Ob90il1du/ChCE8R2rw0wx6eS1Ns1NvDPO69lDYo9UXH riaf5Qnm9JgwSnYF1IDzrtYx0l3elEk6c+hj6YrMB5sJJKanfe9vabi7xsxg/pU3TRgl 5CQQ== X-Gm-Message-State: ALKqPweXB9+nt30i0feSTpaBHqkb/eRd5q8bHCru9wRj1dL6RNCrXcnA r2LMVkT7b7suSCHpS5eDXJpD2bCybO5wZIqO8KU= X-Received: by 2002:a1c:ec0b:: with SMTP id k11-v6mr915306wmh.25.1525951202363; Thu, 10 May 2018 04:20:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.145.78 with HTTP; Thu, 10 May 2018 04:20:01 -0700 (PDT) In-Reply-To: <20180510131725.111079af@wiggum> References: <20180510111401.1161-1-zajec5@gmail.com> <20180510111401.1161-2-zajec5@gmail.com> <20180510131725.111079af@wiggum> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Thu, 10 May 2018 13:20:01 +0200 Message-ID: Subject: Re: [PATCH 4.17 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y To: =?UTF-8?Q?Michael_B=C3=BCsch?= Cc: Kalle Valo , Larry Finger , Matt Redfearn , "linux-wireless@vger.kernel.org" , Hauke Mehrtens , LKML , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10 May 2018 at 13:17, Michael B=C3=BCsch wrote: > On Thu, 10 May 2018 13:14:01 +0200 > Rafa=C5=82 Mi=C5=82ecki wrote: > >> From: Rafa=C5=82 Mi=C5=82ecki >> >> SSB_PCICORE_HOSTMODE protects MIPS specific code that calls not exported >> symbols pcibios_enable_device and register_pci_controller. This code is >> supposed to be compiled only with ssb builtin. >> >> This fixes: >> ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined! >> ERROR: "register_pci_controller" [drivers/ssb/ssb.ko] undefined! >> make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 >> >> Signed-off-by: Rafa=C5=82 Mi=C5=82ecki >> --- >> drivers/ssb/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig >> index b3f5cae98ea6..c574dd210500 100644 >> --- a/drivers/ssb/Kconfig >> +++ b/drivers/ssb/Kconfig >> @@ -131,7 +131,7 @@ config SSB_DRIVER_PCICORE >> >> config SSB_PCICORE_HOSTMODE >> bool "Hostmode support for SSB PCI core" >> - depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS >> + depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB =3D y >> help >> PCIcore hostmode operation (external PCI bus). >> > > > I think we also need to depend on PCI_DRIVERS_LEGACY. > See the other patch that floats around. I believe it's already handled by SSB_PCIHOST_POSSIBLE's dependency on PCI_DRIVERS_LEGACY. --=20 Rafa=C5=82