Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1322930lqe; Mon, 8 Apr 2024 06:01:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU16SBOQ9mgKP2a+TlImqRO40FETCOC3kBzyHolfIF0E7DSS8jSNlSEG7/bYghaL4wLdHGPxyVxMAOqHXK79Rg12U7u0aLxzRuPVhmZwg== X-Google-Smtp-Source: AGHT+IHmylvCccleJNajEEevonFvG8f5/Vs1vMhhjx41FK5oHK5kFfl70Rjr0Q7oD3BoIrnDjNFK X-Received: by 2002:a05:6a20:9192:b0:1a7:4a6f:ec4b with SMTP id v18-20020a056a20919200b001a74a6fec4bmr6106345pzd.35.1712581307873; Mon, 08 Apr 2024 06:01:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712581307; cv=pass; d=google.com; s=arc-20160816; b=lz10bu0mz2zI4fbUwlx97JzZNCz/3oEugXtzz0ukMSFQ6eTLVMJHcLr815qlQ8ggI3 ZgjhAXS2NyIGurBvf09HAanoJXHlaKxMu8ECT4bVd8aWJyWdYlUGHaSeh621hZDQGlGJ TK92NcpFbHuLpXB1deQweol1PCxyUws34kF6KGWws90fXAjnhEK0oRib16thmGQIC/OV uS2paJG3w/WRtUfSDu1puheoPJ70aJxQeJAcvOnvQlY68b53YKJjz+lVaTOVBTVgW1bK /T6XRFH+wyPzWs+hTzv8wTH3en3w0Lg0Y8xLwYUifEIncOX0WCXk9WNCU65ABEuQWq5U 2HFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=09kzDSeBY1bDEVzXFyzjlKFFBS3B45ldTLZliU9eor4=; fh=drlCYiZG6Yd21bysaXRJOUYB2WqTYGUmgFHQpD2jM7k=; b=bW3uyLx6GlV69JdBEYPCS4m4+NALEKq13tB7MgxKxcfJQPVd1s4FBGaGosppjULBhv 5/xDRYuyCCI3GyegQ45+57+p5K6871SrB++QWociyx6KcPz9AzoOYsLViKG0xJf2RCI/ ARkyH0A+TqPoz4wk34SVRV/L9wiPZD7WTVOU1l2rEiNOZU1Pbs0BQvW2+4Kpr7et8Qt8 2OYdKhFHNdaman573FG7yccgRi3hskn9n0INMtU3MG9vxCYk8+x8XaPm8QeuHq4qJlCl dAqeJorzhlO/2MJ9VVVE7SwFZTQnJov/4Zu8yxZFKATyNyyeCutnkzLGSQPKp0D31yFa W/VQ==; 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-135377-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135377-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id oa18-20020a17090b1bd200b0029c77fee41bsi8781958pjb.3.2024.04.08.06.01.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 06:01:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135377-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-135377-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135377-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A313B285DF8 for ; Mon, 8 Apr 2024 13:00:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 690577172F; Mon, 8 Apr 2024 12:59:47 +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 EDB906CDA8 for ; Mon, 8 Apr 2024 12:59:44 +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=1712581186; cv=none; b=UUtmImJEKGY2HrWOKqQgZ3W0z1nDBrdST2N3BUwkPihyUo4DSmyiud8YLU+h8FhM0UFvovChDCcyWSGepruN3Mhcdtaq7IcYDt+w5Zxssc6sMX08nseFqNU+SMhWebqwAa0XSTvoZTb2Ad+E6+ZECALBXFPtd+FWEL1glxPwqig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712581186; c=relaxed/simple; bh=HvDCqVEIoJK9fnXjivKaPmavqQ/maelTiQzEJDIQVcY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kMRxN7tUOrUoUYPcVOrz4/fD5+SA7bbn+Mer7kKTkcEXCrWlxusO0cEhXzvqBp07Vwr1i6SMO7WjLcOOip97F5XdwfvSyck3FZNzGDYutfyz5SF/x+rqoCscpr6g0iu7Jot+Ot9ITadz1Pr83D+H3kTSB7bCIPlePIZX8pUnxKw= 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 1rtoas-0004Ly-2b; Mon, 08 Apr 2024 12:59:26 +0000 Date: Mon, 8 Apr 2024 13:59:24 +0100 From: Daniel Golle To: Arnd Bergmann Cc: Matthias Brugger , AngeloGioacchino Del Regno , William-tw Lin , Arnd Bergmann , Ulf Hansson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] soc: mediatek: mtk-socinfo: select CONFIG_SOC_BUS Message-ID: References: <20240408125506.1594257-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240408125506.1594257-1-arnd@kernel.org> Hi, On Mon, Apr 08, 2024 at 02:55:00PM +0200, Arnd Bergmann wrote: > 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! > I've tried to take care of this in the exact same way a long time ago. Don't ask me why it didn't find it's way into stable yet https://patchwork.kernel.org/project/linux-mediatek/patch/cc8f7f7da5bdccce514a320e0ae7468659cf7346.1707327680.git.daniel@makrotopia.org/ Cheers Daniel > 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 > >