From patchwork Thu Feb 25 20:57: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: 8426571 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2F773C0553 for ; Thu, 25 Feb 2016 20:58:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 53A3320394 for ; Thu, 25 Feb 2016 20:58:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40D702037C for ; Thu, 25 Feb 2016 20:58:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbcBYU6h (ORCPT ); Thu, 25 Feb 2016 15:58:37 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:50520 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbcBYU6g (ORCPT ); Thu, 25 Feb 2016 15:58:36 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0M1nxq-1ZfYeO0nKk-00tmfo; Thu, 25 Feb 2016 21:57:54 +0100 From: Arnd Bergmann To: Kalle Valo Cc: linux-arm-kernel@lists.infradead.org, Michael Buesch , linux-wireless@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH, RESEND] ssb: host_soc depends on sprom Date: Thu, 25 Feb 2016 21:57:43 +0100 Message-Id: <1456433869-3919332-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:41qhSe+IdhknRcmsCLDHI6Ac1Ndyl1wXJysSJdS6UCqysPI/on2 0+a7kyAnZeSz3o/xVKkwtwRfErHIXiVGPiV2fceGBApVYXbmzALyC4aBgv7rdXfDA48gl5A 09ghVkarSKE40o7jnWDKjKhW9aFb4XD43l3foLwzsi2LBziAmjNcXgf/46VoLKlKWE6sDBG dX+AVl1W8t19xA24HqBkw== X-UI-Out-Filterresults: notjunk:1; V01:K0:HkRYErj7jQ8=:ViUUXAUpjh0JbdiOA/4fb1 sieJXMO8vTPmsCI0ap94Wy0sVDUhaD9kKyNWDaYb1rfNy7rP4VVvu4OIe16fkldxORj6VdQoo juB5Q1ZcAUtJw7sVYCNVkdyrDbpuZNpNh/43zQp1Yg1T7Y0SQza+N7XInOFGDXBALWBRcJv3O HrUo/Htwz9ectM004pgNOCXb3IJSk3WecjGxl8w1O6eQFW8gfScgNUiX/5CIjh/fSD+kcRbTE vXuOJ3Yv4IzMRXwlf6sXQRMi26WgYEtZx+wWt9nZVKUdB8h17nTZtzYhpsemCKP+4mi5HY/E+ UKwcX4iIl+QEN2mKWfWrnZ3KBQdiDaar1mTcsmvklR3WGrdST9VAd1OVpA8MPt9TYiJkKZFVc EXcCnx9l5J+TWfeMzKcMaM++oqByJheuJ1ehoDq3OnfAfwbrtDWNIl/OUiw4AcEHKdq2mFj1A 5K4Bz/bvLaC/CcYfZg4v/4sjn+iTyy0GXXaHgY8Ji9yN1AQvmvbSbzao2l9jD3Eyo/7Y0QRcw 5As59irdQloT5RduMCRUXDFkCMti4NOXQWg6LHIs8DicnGj89pMbkW4l7m6OZ090qg/6XMlhH 7YFQcR8LjsPgdK6zR8iZSkQVNqz9+FCH50G4jP9Ll2QIiGZjeCkHF2FfUULfNgO/UYQVD1M3i jBGQz8Vyd95z+TAoWoa5mGwTvCjZA7xhdSoGW+x3+zw2JSftq0gJxLZFctOeuUQIl+Wk= Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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") --- drivers/ssb/Kconfig | 1 + 1 file changed, 1 insertion(+) I just noticed this hasn't shown up in linux-next yet, so I'm resending it to ensure it's still on someone's radar. Please ignore the resend if it's already in a tree that is not part of linux-next but will be merged eventually. See https://patchwork.linux-mips.org/patch/12091/ for the original submission. 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.