From patchwork Thu May 10 11:14:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 10391717 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 189EB60353 for ; Thu, 10 May 2018 11:16:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09ABE28A31 for ; Thu, 10 May 2018 11:16:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F27A328A30; Thu, 10 May 2018 11:16:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B27A28A31 for ; Thu, 10 May 2018 11:16:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935200AbeEJLQF (ORCPT ); Thu, 10 May 2018 07:16:05 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:43540 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934948AbeEJLQA (ORCPT ); Thu, 10 May 2018 07:16:00 -0400 Received: by mail-lf0-f66.google.com with SMTP id g12-v6so2378121lfb.10; Thu, 10 May 2018 04:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+K5hdt6uwAeCpLlANmeZ8hMpMKiVkpyd0L2m5WMYQjo=; b=unCxfyFV61g1gshOMA2II/SxTEIlglZDRSjNF7yxktuUwoP/9tmBhVjZF00c1ps6/h E6/ZQ4a0/jo2D+RgBlgVPhqSANIqhRFOmblVG6Zt4GigSpjMbSkRjdJjHcneMxX8ZU6T WnXQQI5gAi3kMYPpLtEBB8ySYq1vHHCEA1Jw7ar1SKxRD+DLPbOjUjfjAk/P095sMKhV 4I6J2stDOqE9qIXgP5RuOas8xC/0TWYWwYtN8j4PSWO6+ruwpxwHZmrALdtjbS2c/C35 w44ZNYE4hsWDQ+BIYW1t8Bqd55rQf+nxnYigjRwmLg9F85ZWDq5evIpkYKGgops3r3zm dtDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+K5hdt6uwAeCpLlANmeZ8hMpMKiVkpyd0L2m5WMYQjo=; b=XZgJmwlKfhMWwdbn5NGxgG4FYCgT0ZY/gojAMWIjzG2Ah4ckmqzj8HrZnA+Epj/Bnj q7u/nLAWkpZNUfjJaX1gtzlutMsHTDbu1PtiQWVKSVJCfgzTVBVAhbO8xVhnrazvRsJX k4fa3hMe8nrpNumGoE/Ybdka1P/fJZtX4qImg4DkPcShNYKfCJ9AqSEziZ9dC6qkdp73 ZxuzxuDrflCn82k5I5hT4qyMhU98I7/lZMGN4omh9O4+Fp743uZyDwzdOw7q02WN4Aby BlK+vrDcHS311VvqgE0Q0WUQI1scGOsU8JAPSP+V89mTg8T4LO9TNbv5sVVvvM90cDnP D9yg== X-Gm-Message-State: ALKqPwc1sYYO+hnw1ig1u3tSQkW6gFVchoJYjXh/Pd5WwIn9O1zYei3S HsBsSFuAjco2SAG16XMv59Pfuw== X-Google-Smtp-Source: AB8JxZo38wAy88mRqqLJ7UMnNAcukcMsFYRu0ON3ZAY9FJiKkCd5s+FbprCHrIry/0WW00VTXzuhVA== X-Received: by 2002:a19:4f4c:: with SMTP id a12-v6mr719810lfk.97.1525950958867; Thu, 10 May 2018 04:15:58 -0700 (PDT) Received: from linux-veee.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id d25-v6sm122662lfa.46.2018.05.10.04.15.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 May 2018 04:15:58 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo , =?UTF-8?q?Michael=20B=C3=BCsch?= , Larry Finger , Matt Redfearn Cc: linux-wireless@vger.kernel.org, Hauke Mehrtens , LKML , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH 4.17 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y Date: Thu, 10 May 2018 13:14:01 +0200 Message-Id: <20180510111401.1161-2-zajec5@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180510111401.1161-1-zajec5@gmail.com> References: <20180510111401.1161-1-zajec5@gmail.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki 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ł Miłecki Reviewed-by: Larry Finger --- 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 = y help PCIcore hostmode operation (external PCI bus).