From nobody Thu Nov 14 04:43:12 2024 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 ch= ip 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 --=20 2.43.0