Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1337378lqe; Mon, 8 Apr 2024 06:21:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWre05DdTYj/hgM9TmvDJtB8jEfriM4KLbeKWNaWZjxjaapqPMC9rFqDuEVF1//0RzqhpdiE1hNoT+v5GMJV/y0NaYOOnE9Xz2hXF4Fw== X-Google-Smtp-Source: AGHT+IE+/eUd02zoPMTSJZysWeEAPbv875VGA0/B+E0RVkt80wP0jLFhFFRbX/ptniqD0YxvxHNt X-Received: by 2002:a05:6a20:a11e:b0:1a7:822b:1969 with SMTP id q30-20020a056a20a11e00b001a7822b1969mr1893195pzk.45.1712582482485; Mon, 08 Apr 2024 06:21:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712582482; cv=pass; d=google.com; s=arc-20160816; b=dig0kUJDdbUOloHwbX2pDR1aVa753mxOVovGb7xGP9IuRUfe/7ATUo7NfEadlHah78 1xN5F55Dmc0h2pq19/DQdcd0oLMfynvkMvh51cY32zrCdcOsx11Hh4ghBN0dSRbQI6n6 ZeM7KIKWqt9vhvBRW7x5cR40BZKoZtPZEWvGx8nL9ZZhBsNaNmGpJjBwchNI5TK3J9ml QyCL6AAtACoROMvFY5H0y7BMY1HKpmIeseU6cPflGMfdGZCBqp1kiKjrVOi9NkSIefyj c2OYLZmBbFy81c3hnvjr6nC+F879qhscQ4zmtgFWe5+BLbUBhRsC8hFaW4d6Nc4uRM3G C7VA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=T2/iFdfhLLN50i/OwjhWSAcQD1lZsQmlhcH97S9zkyE=; fh=uEp5phsFlFgwccD55sAngpQXNipTDMIw0zlFR2paJEM=; b=ca5ngdtJckmevS1U5RIVL40IOTHz3xFiiT4nT6nYB+1TYZ6DQYou2YBwE/5x+UTJZ3 kLnAggO6Yc6YLw/JN8z86KEif7e+Lv43nXNsJcVHto3/qBPaznPjo7tj2gKK/1W4zmlp YHoCeZ8yvpHfUlfBF2Hih1GMjRqSwoanPm1WqLZY5QT3Ann4uyUvabx/V5qiIr03u6Vh vIp4+efDNun3FaIVI9O8pWhZVOy1qMZiEm9EbA+sTfUrQYrv4mGQ9xR5zQj4cRTjDRC3 pqBbibHQu92CqJBhuxc8lUC5fQH8kKo9opiGE+7tgnjhgEvNUiGAT0vH/+Y4tyMRdrJv 2o6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dIdioGhg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q11-20020a056a00084b00b006ecd9421638si6472370pfk.335.2024.04.08.06.21.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 06:21:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dIdioGhg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6DF96B25859 for ; Mon, 8 Apr 2024 12:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E445177F2C; Mon, 8 Apr 2024 12:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dIdioGhg" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 17CE17640D for ; Mon, 8 Apr 2024 12:55:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712580912; cv=none; b=sS+UO0SvIwUKD8BvyvvIOJVrXc+K28hGvbVZ7PsgKJ0jKnXX9NnmuSX5I4K9mnHYPV5KiUK/0b9+lZyLiLOJTa5GWgASKCNdOInR3XQGz8hGvpb06GZlvWCJHNKWpGLsogLevQ6VjVlj41ovMzJfIO4GGNz6EsdjmzDmNT889J8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712580912; c=relaxed/simple; bh=zNm3sqMhI/Yp0BpqNAy2dxpqoDl6p4U4ZJ8XBKnytdc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JPcGZGfM7sfz/gXGiyxY4Sm38YbAu1zSQOitR4PPUgFgfHyVxi1sdsZ8CvAfAeTb+G3uz4X0krRvo3sa4fq3EYahJSdha8YoYNDMUOUrori2JVIZoiiuI/v4s70SjIZtcFJNaaiJIZxN5aT4AsLF8NP2oNVYXuZO9qGDol2Jp6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dIdioGhg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2A32C433C7; Mon, 8 Apr 2024 12:55:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712580911; bh=zNm3sqMhI/Yp0BpqNAy2dxpqoDl6p4U4ZJ8XBKnytdc=; h=From:To:Cc:Subject:Date:From; b=dIdioGhgVrUrrgN1KmD0C0EgFvzbQsE0bMepTP4Y2bLIZep3qyiiT/7ZuSOolbXij ACQHnU4g9IMYARg3dWS9a3uaqMl9NtFm8tbimcHCidIr3Qln9oycglJLwS0M8qD1O0 yBI+ZIKXlujlh/BmW1ze4+eE8q/T7Mz4Agvx4cSMSWQNmcBYpEhJARZM2o5s3qZiK6 4yq7KqOdNJlq5FZuVXeTuMYzJB1nHEH6KfS72znGrJVjroLrqyqTqSOB6f7EbtX4XS m2fBaUWYFUTkvBfbpxWGzi4LzXjf4BRVNa0JSLUDJdLVSyLFqchovB4MTy6wqfjhyV Q2T09lJL8WjUQ== From: Arnd Bergmann To: Matthias Brugger , AngeloGioacchino Del Regno , William-tw Lin Cc: Arnd Bergmann , Ulf Hansson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] soc: mediatek: mtk-socinfo: select CONFIG_SOC_BUS Date: Mon, 8 Apr 2024 14:55:00 +0200 Message-Id: <20240408125506.1594257-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann This is needed to avoid a link failure: ERROR: modpost: "soc_device_register" [drivers/soc/mediatek/mtk-socinfo.ko] undefined! ERROR: modpost: "soc_device_unregister" [drivers/soc/mediatek/mtk-socinfo.ko] undefined! Fixes: 423a54da3c7e ("soc: mediatek: mtk-socinfo: Add driver for getting chip information") Signed-off-by: Arnd Bergmann --- drivers/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index 50c664b65f4d..1b7afb19ccd6 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 -- 2.39.2