From patchwork Fri May 11 09:17:15 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: 10393727 X-Patchwork-Delegate: kvalo@adurom.com 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 5DBE960153 for ; Fri, 11 May 2018 09:19:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D42D28B5A for ; Fri, 11 May 2018 09:19:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60AEC28DC3; Fri, 11 May 2018 09:19:31 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, URIBL_BLACK 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 ED15E28B5A for ; Fri, 11 May 2018 09:19:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752896AbeEKJTQ (ORCPT ); Fri, 11 May 2018 05:19:16 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34241 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762AbeEKJTN (ORCPT ); Fri, 11 May 2018 05:19:13 -0400 Received: by mail-lf0-f68.google.com with SMTP id r25-v6so6940512lfd.1; Fri, 11 May 2018 02:19:13 -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=IdlZ8TIquE3rS6cHiCwvp0jxUtoIaTlqgog3GXx5qfk=; b=CA4dqBu2CxtPecoewp8N+1QjHFNgLV0uqH5ttee1NyjJU1jgv87Kv9lh0T2GIB3IYG x/bTESmppIMZ+mVDt5ZcvvCYYAd5tg3WzvFvf+iufBolR6irUQknuQVMA/NVwOO4Jn/i hxCyUH9tP9Qcr8csNGDL5GRwCO9PMhnV+QSdkRUxvO0JDBoChyYM5rfYXCYvBD0ZSwyh bhy2sOfnPIEJEYO4NdK6K5c9fHUGicCk2+U31qivgdX14Fw6+uc6TDsfhqorZc0wFTO3 UGVvVfuW4nO+UQ8nGSKMmi7knUWfPikayfepICyTFCRLQgRbf7aHbd3wnHSc80V/yE5v OwCA== 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=IdlZ8TIquE3rS6cHiCwvp0jxUtoIaTlqgog3GXx5qfk=; b=RgWMs85tadwQcaaDntVm3af81z/KExl2Yq8p6xAak1yQ/0U0a/vo3QW2mBzhS3q2ZK +3FiUWjQXtK5rBoUwkWqxDxJ9nv9IgSLMSRt55RZkvCh/ORu/0L55IaktX/sMF1lfd13 cMYZPCMdCEwLnJErr3nbSpIquoqLgolC6koshSwXgIAhw4CtGa7YDw9fZOoeO/YbO0Y1 8sLGAcArYVQRMNcWpNR6l3KhNKUys3eRPT9YHMOlkuHOWnIFs3zdmQfaDs8NE0mvN1tp zZ95W+H4loKm2RG4PFUG+LlTXJpCygpEmdYH7JHAKIjEfT9IFiABnzfd3nIEoqv6wTp6 2/gA== X-Gm-Message-State: ALKqPwc2YgAn5WQVY66JgT8hz3LQaLXnxT5Gmn9mTYTtWks9cM6atXye NG/MLFcDwxLs0yNIf0JyTxw= X-Google-Smtp-Source: AB8JxZpLrDeTkyFyJzrnFntqaouYxHTLa9w1RxJ9wY60/WFzJo/gJJ3Z5OCnFFXyDpzopHNqr/L89g== X-Received: by 2002:a19:974e:: with SMTP id z75-v6mr1114998lfd.41.1526030352316; Fri, 11 May 2018 02:19:12 -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 a70-v6sm352061lfb.78.2018.05.11.02.19.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 May 2018 02:19:11 -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 V2 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y Date: Fri, 11 May 2018 11:17:15 +0200 Message-Id: <20180511091715.1989-2-zajec5@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180511091715.1989-1-zajec5@gmail.com> References: <20180511091715.1989-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 Reported-by: Matt Redfearn Signed-off-by: Rafał Miłecki Reviewed-by: Larry Finger --- V2: Add Reported-by and Reviewed-by --- 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).