From patchwork Sun Nov 6 06:25:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13033331 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29BABC4332F for ; Sun, 6 Nov 2022 06:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bjEvR6l3VE0lBLgzkb+a77pW777bWwRcQ8wCpWMowzQ=; b=rmrQlmxyzk7wID H0vtsjnOMlmIK4eMa9BhT7ZEiy3QHonMAYJPPeV8Wvowaa2YUUXYXHmR8QzIF2ZDD+xHG6UgNbjbj aA72uXZsT5y1QqCoEo8n87JbXm/jTUhhrdLMqXyPGd3QBynVSiQIsMIMq2+jfjoH7yaugpmZWcBJb 5aIbLGIs3uCkx35/hk7WqVLJBDBdbXpBM1nb0kotbE9Kx9zxGuizfUrgxNMflw+ggsILNET0PJHZ3 VrgdIZHaqiMUYKmZtVjD+4hGYyPjUckZHCVM59H7En6mY9/N4ia0YrvoYN1xzwe1j6BrQnqG4PKfW WV6uZjl2tdWC8Re1q2Zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orZ6L-007ZWx-LG; Sun, 06 Nov 2022 06:25:49 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1orZ6K-007ZWo-AX; Sun, 06 Nov 2022 06:25:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=5SDRXSxMWlUUbPkDm/PxbafoOSGwgChTiTX8o4kcnFs=; b=OtHvTeo+vzTRfVCnhEJDuEKv1/ wV69kB36ag1cN6N67bOEKgN9X9koB+S2VWXL3eBOnzdvqpSeDPSxrWI7T7fWvlOhjUgOLJZS8+LN/ dMCVzDce7fZeTobLxQcy8JVI2IMJ3YeFFCs64bmKIGTIJaDnkIHJEYSh/jhsla/ygVlsWOp6iON7v UEH/laLwCPmvF+ZSAz9NqVD3pYUkOSRny2IWBlV43UEbvigmZvsONWUmxkl61W6jmx0QmzOoHcIW8 WMjCEK2oXyXPePRd/clLr1cv6gAikUeQghlPyjZ0dABCsCUUwmnS/ZvIbqkry5jvh2X7pwYZYAsHN nmokIXcQ==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1orZ6J-008eYA-0p; Sun, 06 Nov 2022 06:25:47 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Russell King , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: [PATCH] ARM: omap1: set ARCH_OMAP1_ANY for ARCH_OMAP1 Date: Sat, 5 Nov 2022 23:25:36 -0700 Message-Id: <20221106062536.26369-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix a build error by setting ARCH_OMAP1_ANY Kconfig symbol. Fixes this build error: arm-linux-gnueabi-ld: drivers/video/backlight/omap1_bl.o: in function `omapbl_probe': omap1_bl.c:(.text+0x1b4): undefined reference to `omap_cfg_reg' Fixes: 7036440eab3e ("ARM: omap1: enable multiplatform") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Aaro Koskinen Cc: Janusz Krzysztofik Cc: Tony Lindgren Cc: Russell King Cc: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org --- arch/arm/mach-omap1/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig --- a/arch/arm/mach-omap1/Kconfig +++ b/arch/arm/mach-omap1/Kconfig @@ -47,7 +47,8 @@ config ARCH_OMAP16XX config ARCH_OMAP1_ANY select ARCH_OMAP - def_bool ARCH_OMAP730 || ARCH_OMAP850 || ARCH_OMAP15XX || ARCH_OMAP16XX + def_bool ARCH_OMAP730 || ARCH_OMAP850 || ARCH_OMAP15XX || \ + ARCH_OMAP16XX || ARCH_OMAP1 config ARCH_OMAP bool