From patchwork Wed Jan 13 22:51:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101167 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp3649297lbb; Wed, 13 Jan 2016 14:52:30 -0800 (PST) X-Received: by 10.66.124.232 with SMTP id ml8mr1034596pab.98.1452725550215; Wed, 13 Jan 2016 14:52:30 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y69si4778521pfi.233.2016.01.13.14.52.29; Wed, 13 Jan 2016 14:52:30 -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 S1754601AbcAMWw2 (ORCPT + 29 others); Wed, 13 Jan 2016 17:52:28 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:50777 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752004AbcAMWw0 (ORCPT ); Wed, 13 Jan 2016 17:52:26 -0500 Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0LodXq-1ZhOdE1S94-00gZnP; Wed, 13 Jan 2016 23:51:46 +0100 From: Arnd Bergmann To: Kalle Valo Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Michael Buesch , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ssb: host_soc depends on sprom Date: Wed, 13 Jan 2016 23:51:43 +0100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xFAV6kO+DFWE5g+O/Yl67Mx7Qcax8VjIJevccimXmn+RtYWvFI0Xt6QxMR4ozYDEz4TDfhs70 /skRbFTA9Ol0LCtw Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drivers that use the SSB sprom functionality typically 'select SSB_SPROM' from Kconfig, but CONFIG_SSB_HOST_SOC misses this, which results in a build failure unless at least one of the other drivers that selects it is enabled: drivers/built-in.o: In function `ssb_host_soc_get_invariants': (.text+0x459494): undefined reference to `ssb_fill_sprom_with_fallback' This adds the same select statement that is used elsewhere. Signed-off-by: Arnd Bergmann Fixes: 541c9a84cd85 ("ssb: pick SoC invariants code from MIPS BCM47xx arch") --- I'm not sure who the right person is to pick up the fix. The patch that introduced the problem was merged by Kalle through the iwlwifi tree. diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index 0c675861623f..d8e4219c2324 100644 --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig @@ -83,6 +83,7 @@ config SSB_SDIOHOST config SSB_HOST_SOC bool "Support for SSB bus on SoC" depends on SSB && BCM47XX_NVRAM + select SSB_SPROM help Host interface for a SSB directly mapped into memory. This is for some Broadcom SoCs from the BCM47xx and BCM53xx lines.