From nobody Sat Jul 25 19:30:26 2026 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (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 883E712E1DC for ; Tue, 14 Jul 2026 13:15:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784034931; cv=none; b=md5Qp/Qqw5N/wvEX6X3Fpc1jKG9ffGYBJs9QwxGclMgOlk+UtWvI1hmLBiPbDaGXwKIq51sUeZTf7jgs2al6rhBMvt9RWpGkZaV/oBtPl9hBnPW/glHIIipTBYMPlGYI9iaz7b47wb0mKeb3W37f7sx8spaNdDfKsECBnn75oYw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784034931; c=relaxed/simple; bh=iv2X0Y609v6oD3hRDKXErDrI5IsUFgwSVrns0qHQWuc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zo0drF6XeYsa+HbfHpdIAhBZdrA3V4wiSaZocAR+YT1ULOYv3AIw1rWpCvhnNWE+YBlMAF3+aEInSDksdlhTjxUzOS6iBtZ/a517+O2dSHqfLjNfxGGQ90+tgwhNi/Mgb+ijgU2ZNHi1mabLqt77Jp+LNZVw4MU9fRusOeJWjDM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 1132e2a47f8611f1aa26b74ffac11d73-20260714 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.12,REQID:42fa116b-70af-4adb-91a2-7b7314f9627d,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:e7bac3a,CLOUDID:6eb1200554fbf767736d64c5c340f4fc,BulkI D:nil,BulkQuantity:0,Recheck:0,SF:102|865|898,TC:nil,Content:0|15|50,EDM:- 3,IP:nil,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,A V:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: 1132e2a47f8611f1aa26b74ffac11d73-20260714 X-User: pengcan@kylinos.cn Received: from lenovo [(10.44.16.150)] by mailgw.kylinos.cn (envelope-from ) (Generic MTA with TLSv1.3 TLS_AES_256_GCM_SHA384 256/256) with ESMTP id 439562558; Tue, 14 Jul 2026 21:15:21 +0800 From: Can Peng To: suzuki.poulose@arm.com, mike.leach@arm.com, james.clark@linaro.org, leo.yan@arm.com, alexander.shishkin@linux.intel.com Cc: quic_jiegan@quicinc.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Can Peng Subject: [PATCH] coresight: ctcu: publish OF module alias Date: Tue, 14 Jul 2026 21:15:10 +0800 Message-ID: <20260714131510.153784-1-pengcan@kylinos.cn> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Coresight TMC Control Unit driver has an OF match table wired to .of_match_table, but the table is not exported for module alias generation. Add the MODULE_DEVICE_TABLE(of, ...) entry so modpost can generate OF module alias information for OF based module autoloading when CORESIGHT_CTCU is built as a module. Fixes: f78d206f3d73 ("Coresight: Add Coresight TMC Control Unit driver") Signed-off-by: Can Peng --- drivers/hwtracing/coresight/coresight-ctcu-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwtracing/coresight/coresight-ctcu-core.c b/drivers/hw= tracing/coresight/coresight-ctcu-core.c index 9043cad42f01..a7caa5b00b6d 100644 --- a/drivers/hwtracing/coresight/coresight-ctcu-core.c +++ b/drivers/hwtracing/coresight/coresight-ctcu-core.c @@ -295,6 +295,7 @@ static const struct of_device_id ctcu_match[] =3D { {.compatible =3D "qcom,sa8775p-ctcu", .data =3D &sa8775p_cfgs}, {} }; +MODULE_DEVICE_TABLE(of, ctcu_match); =20 static struct platform_driver ctcu_driver =3D { .probe =3D ctcu_platform_probe, --=20 2.53.0