From patchwork Wed Feb 7 17:42:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 197997 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2396529dyb; Wed, 7 Feb 2024 09:45:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU1SRnWogjoaUk1+aVO2/qNRp0h3n7ENK/gSDns+t1dyFYMzpVZFaZ3JvHHeii63O27JCZKbGujlMU9/wOc4X4Y1hp9ww== X-Google-Smtp-Source: AGHT+IGdYT07N9wcVabE1r1JlSSV48p6XsqJW5up0GIGnOv03Gmg7j+eo0yf42jCv5mEIA3KWPrf X-Received: by 2002:a05:620a:4610:b0:785:4ea9:36ef with SMTP id br16-20020a05620a461000b007854ea936efmr427272qkb.15.1707327953495; Wed, 07 Feb 2024 09:45:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707327953; cv=pass; d=google.com; s=arc-20160816; b=yOAW7ORyCEOPbNDfJ/M/F3MVGxPXxJkTej+8ViinfQewJ/o8YcCkycja0Udi5Ga4ex mA4pg5XD1YXoX3uIsj2UaktrsknWZtO3VRd1MRMrf3DBiYve9rgDFPQQyaxWHBRYRGFp OY+TcKvqzSy4yApGfCgIpn4zw6aeHNyGdYmqRLmYBRrQQJVCCnX5kBuXmmAqe5X0MTJp WRgBhzs0Zdh8NsNlqHHHc1gHLar2tCHE052aumvcSc1stkN2FOdK/YppjXHRt/iXbNPh fCWkmHkyjUSLE3n+uXTltav/uYAkM0s+ZLEvXdpjflh276dKlL4Alnrs3E50pmO7nDL0 lSYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:to:from:date; bh=2c9IXrDCG2O8cchDAjQe99TIBBuW6s+seZlC0GVMbm0=; fh=tYGdaZOD+fhAG60LKp4KurRj1QvnOOiMNx6iuwkKafA=; b=plXs9J60TUMgAFUSlwXu37dBN6yKpHGAeJBIXecBGPfy8Z1j9ayE6cY+5CMXRbMHTq 3lNJIXbzzu6CkfJDXKEIGX2AB/ImGsiNZ7Ij9HfpLqp6glw0jPi6AormXiu6p6BQOq22 dF112MQLZi6su69or4V2M40Co/1Nc51jEHAqF3qk0kHuv50COqxFTi+KdnQNML0iB0Rh Sd9wUXr8tsx7zcL48eqrYJdxriDE1c+uZch0Who8C3N3NMYqlmxrzy+DyoNLQF8Z3s30 8TL3TLkXiOm0/IxJid426Nkmc2q50wI/y80o73J7MzimL3+sCOatGtQAdLce+Kc+Bkzb 2WeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-56843-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56843-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVhldJiYz306vbC8w+DPK1PN3MiCYKEK0TzpMy7qePAN+xHsp5LRF9qn7clA/6o6nhi3KgFs/hDgUh5f9z2dtIZvbZlgg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b20-20020a05620a119400b00783448147c8si1573474qkk.292.2024.02.07.09.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 09:45:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56843-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-56843-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56843-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 69C771C26A5F for ; Wed, 7 Feb 2024 17:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 054B683A1C; Wed, 7 Feb 2024 17:42:56 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47E6B823D9 for ; Wed, 7 Feb 2024 17:42:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707327774; cv=none; b=Kyjg4YueVANeGgQfCp5TRKhJp/C73NywpxVFkbRxbUXAgq8fJo3jUCxEzJZOYCDb0AnLHo1/jchjGq79rznFpg/G2ZgE/L0zu8zCpfjrQWUjBDLOKjvddNQG7T3Zn2cBX8MI6nwojoSfC18YADmy+x9rC8+mm9yp+ptRcVMXLbg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707327774; c=relaxed/simple; bh=sbQ0q2InasHxX418o7X4ZW5il0O1Qo5AEyD+/brS8+c=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=jOtJAFXX37tNS6A4nFWg4XmHjzvIOAAIkoRETn3JDd4A1BruD9sQVwOrLkBcYsviFWcuBhDGlMKqIjciunMUKS3nGTEBnB3DH1S6lJo+Yzpp8xp50aKkLMQOwImBvHLnvyD/YUx0ElGQiCIu5nk0dfxvJeGnO3RkThOygAHrxBI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rXlwe-00041Z-08; Wed, 07 Feb 2024 17:42:48 +0000 Date: Wed, 7 Feb 2024 17:42:41 +0000 From: Daniel Golle To: Matthias Brugger , AngeloGioacchino Del Regno , William-tw Lin , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] soc: mediatek: mtk-socinfo: depends on CONFIG_SOC_BUS Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790263116428719856 X-GMAIL-MSGID: 1790263116428719856 The mtk-socinfo driver uses symbols 'soc_device_register' and 'soc_device_unregister' which are part of the bus driver for System-on-Chip devices. Select SOC_BUS to make sure that driver is built and the symbols are available. Fixes: 423a54da3c7e ("soc: mediatek: mtk-socinfo: Add driver for getting chip information") Signed-off-by: Daniel Golle Reviewed-by: Chen-Yu Tsai Reviewed-by: Matthias Brugger --- drivers/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index 50c664b65f4d4..1b7afb19ccd63 100644 --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig @@ -72,6 +72,7 @@ config MTK_SOCINFO tristate "MediaTek SoC Information" default y depends on NVMEM_MTK_EFUSE + select SOC_BUS help The MediaTek SoC Information (mtk-socinfo) driver provides information about the SoC to the userspace including the