Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7280599yba; Thu, 2 May 2019 07:20:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjwuhTY9etK+ZjgzfyEtEgbb40wd2Cpo2V7ZuKsAMRZsXW7Kwdb7pGSP596hrUAfczwR52 X-Received: by 2002:a17:902:7241:: with SMTP id c1mr4020348pll.326.1556806859343; Thu, 02 May 2019 07:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556806859; cv=none; d=google.com; s=arc-20160816; b=UV2qbNVUaYeYzH7oR96Z93d0NqVpHgqhF07S905EPipkxwre5hru9DsKwH8t1odx3E 6y6RCyFqyIIG9PkLQAlDijrMp0aPpIrOJkeWKoJNFRyqqdwBfd0cG66p+2g0mZnJa3la LVbbO1/d08i7LwyUyeSadOIXSujYo80VeBZFdT1yL7q90yqV4JSwKqZJC3A3YVv8G8ps oGQbLWCx3JbQo2ukYT91o+RKvrR2aStyAQrYI7PnZ4N6lLbyBjePBxgKAILBGhqrKH8a t4frbzzvXvHzq+gw03gQw1IDOhbRs9YEMmm9AAo8wq7XFrhQ9Ng69y/kQiO7v0LfbjIc o+vw== 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:mime-version :message-id:date:subject:cc:to:from; bh=kD5eRN8gXzGXEBQG3p4kRkBtx5jWl9CWsiT89Gfme1g=; b=uclHiqjewCoR010MnVsQDqTLwyixsdPnDLFcILd0dpwA+FIJtfBLQt7dB/WehpCzKl RacaKnakn/qYHaoPlG5QudkWWnG5fPs6+Djaj1PqdtvMSAUq9qkvsnjPVs03JFPjhJqu ZoP1c6xZhdVd+9FLGiYehsbBLXVqdYLDF+iLnh+PxjdUwS/oZVsGz4uYILVSde+vSu/3 UHbKrmtiWnNlXW9GrE2dkG1C4pc5XivuyoOEGxQDO6kTUMMdlv2pkTPaoN0xoLzEKiMf XXib57ch6Acv7a1DH/zFLt1bYF3rmOsIyEEz9d1GNYr9iHPI9Zoka0ZsNqEaVYyBozNW doNg== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21si16308210pls.121.2019.05.02.07.20.43; Thu, 02 May 2019 07:20:59 -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; 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 S1726406AbfEBOTr (ORCPT + 99 others); Thu, 2 May 2019 10:19:47 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:39513 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbfEBOTr (ORCPT ); Thu, 2 May 2019 10:19:47 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 44vy803DdJz9sBr; Fri, 3 May 2019 00:19:44 +1000 (AEST) From: Michael Ellerman To: linux-edac@vger.kernel.org Cc: morbidrsa@gmail.com, bp@alien8.de, mchehab@kernel.org, james.morse@arm.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Subject: [PATCH] EDAC, mpc85xx: Prevent building as a module Date: Fri, 3 May 2019 00:19:41 +1000 Message-Id: <20190502141941.12927-1-mpe@ellerman.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mpc85xx EDAC code can be configured as a module but then fails to build because it uses two unexported symbols: ERROR: ".pci_find_hose_for_OF_device" [drivers/edac/mpc85xx_edac_mod.ko] undefined! ERROR: ".early_find_capability" [drivers/edac/mpc85xx_edac_mod.ko] undefined! We don't want to export those symbols just for this driver, so make the driver only configurable as a built-in. This seems to have been broken since at least commit c92132f59806 ("edac/85xx: Add PCIe error interrupt edac support") (Nov 2013). Signed-off-by: Michael Ellerman --- drivers/edac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 47eb4d13ed5f..6317519f9d88 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig @@ -263,7 +263,7 @@ config EDAC_PND2 micro-server but may appear on others in the future. config EDAC_MPC85XX - tristate "Freescale MPC83xx / MPC85xx" + bool "Freescale MPC83xx / MPC85xx" depends on FSL_SOC help Support for error detection and correction on the Freescale -- 2.20.1