Received: by 10.223.164.202 with SMTP id h10csp768001wrb; Tue, 14 Nov 2017 09:18:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMY6/2vf8RQnFYOWkUVmg4gw9MfJFKspFvQUD/v2YlfTYq8iAJP82ZrWkXD7nVlEQOfGF0BO X-Received: by 10.101.83.201 with SMTP id z9mr12511794pgr.181.1510679882713; Tue, 14 Nov 2017 09:18:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510679882; cv=none; d=google.com; s=arc-20160816; b=LIe7hAV05EH1y+If/lwnkMr1P88ghRWm5LL85hyPdsoypFyo72+xZ2WowH1DVxVfoS P2GOUA0Wx4x2/FNJqATW2jaUPn6c7nTelu4JcHunr04qbSSObsZ/LC9C03JR6hS9Z9bc OWsSgFU/iK3Kh+yr6DZGLOAuZX5g9+G90dlZjxxqZ2EC6FHa3wsmi55f2ZRqIWWBKv5H UT8u7bTdJYBKhr1dg9jkIlp0oUTyb8DuwFZ2VR+IGirY8zLSey8vT3kuKl9Af9o/4m+i 2cYcoVfZc1uZ1LY8sCtGXb6wBjY9Il7NQ+Efp5vfZGhEe9EIDQiwQd7Bsqld1e6uzA0x Mq+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=C7jf+/PtVkVH+FE9X1Thvlnu4KjQBAaOTfJGQDpY9Jk=; b=wROnk/sqApdEdYcG5015bmTMkLn5Xbo5dpp4CfIAKaz5f3J/xQXXxcRc2ybbIVMTxf rv9kTcIYjaHAKZPTo98h0cbAKaFwOY5jEbK2HhBQymvcVn0dkEw0mmsQH6+uPRoOGuy3 aqrO1nvInSJDgx5moAWfs6n2xwmIdnpxp37k9s+QEEHGBOlgFjb7ZBbHbkmXzVB44j+1 GTNl9cWEupsNuYMe7DsiaDlJS5Z8xOhqtmykjA9ctuDygZ1QuAAM8AuA6aLK9wSuORlx n85VSlQuDhFH5uhjXQ4GYJFELDJCoMfm+EKDcjQalwvEpqMI6ztuVrAkEGu04u2EvoGF gpcg== 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 s61si16556691plb.641.2017.11.14.09.17.50; Tue, 14 Nov 2017 09:18:02 -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 S1755762AbdKNRQu (ORCPT + 88 others); Tue, 14 Nov 2017 12:16:50 -0500 Received: from 19pmail.ess.barracuda.com ([64.235.154.231]:46711 "EHLO 19pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbdKNRQn (ORCPT ); Tue, 14 Nov 2017 12:16:43 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1401.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 17:16:36 +0000 Received: from mredfearn-linux.mipstec.com (10.150.130.83) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 14 Nov 2017 09:16:34 -0800 From: Matt Redfearn To: Ralf Baechle , James Hogan CC: , Matt Redfearn , Subject: [PATCH] MIPS: BCM47XX Avoid compile error with MIPS allnoconfig Date: Tue, 14 Nov 2017 17:16:27 +0000 Message-ID: <1510679787-7944-1-git-send-email-matt.redfearn@mips.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.150.130.83] X-BESS-ID: 1510679791-321457-1720-3690-2 X-BESS-VER: 2017.14-r1710272128 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.186919 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently MIPS allnoconfig with CONFIG_BCM47XX=y fails to compile due to neither BCM47XX_BCMA nor BCM47XX_SSB being selected. This leads the enumeration in arch/mips/include/asm/mach-bcm47xx/bcm47xx.h to be empty, and compilation fails: In file included from arch/mips/bcm47xx/irq.c:32:0: ./arch/mips/include/asm/mach-bcm47xx/bcm47xx.h:34:1: error: expected identifier before '}' token }; ^ make[2]: *** [scripts/Makefile.build:314: arch/mips/bcm47xx/irq.o] Error 1 Fix this by ensuring that BCM47XX_SSB is selected if BCM47XX_BCMA is not. This allows us to select either system or both, but not neither. Signed-off-by: Matt Redfearn --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 350a990fc719..659e0079487f 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -259,6 +259,7 @@ config BCM47XX select LEDS_GPIO_REGISTER select BCM47XX_NVRAM select BCM47XX_SPROM + select BCM47XX_SSB if !BCM47XX_BCMA help Support for BCM47XX based boards -- 2.7.4 From 1584059616191042960@xxx Tue Nov 14 16:29:31 +0000 2017 X-GM-THRID: 1584059616191042960 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread