From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99528418A49 for ; Mon, 20 Jul 2026 12:37:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784551035; cv=none; b=sJNdjF4Tx5n1H7wNh+qH9gYRcYYRj7/DNst31EHaBKDX4j8cnh2PFMzSeYKIf65PE4FiPbg1xICN3lNcBhIQdhXYMdWEK+xfLCDhvIFHedz5nfMql7VM/+D8I8pUz45KSMqrePTXOxg9enBkFpwGjmTKAWnpwMT8vRrxR1/bS+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784551035; c=relaxed/simple; bh=QoZXWCCWj7RXQVpY9Sjmih7yMJj+sgfS0a7gl569fo4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ElgAtYkO0enxkoBh0cdQHvQaI0mZHrcbO+1FV0yco3qFHDMG8NvgT16uQpK4SppGhbRGhrwEWZGmQWnAB3L/rVeMF8hhuIMGzC1GlE1ZT6SPf9gKP+8ttfqh14RI9XmEiXJRBMsNMyfGboi4g2GvthyJZn6efGeU1/arpZHTwuk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=Kosco1Cy; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="Kosco1Cy" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A8D672B; Mon, 20 Jul 2026 05:37:02 -0700 (PDT) Received: from localhost (unknown [10.2.196.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 81BAB3F99C; Mon, 20 Jul 2026 05:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1784551026; bh=QoZXWCCWj7RXQVpY9Sjmih7yMJj+sgfS0a7gl569fo4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kosco1Cy1pDSoV0PcIrPGpBQUNkkFGMpMQeJ5pVwnoC5lP7z0aM1i2jiHhwclKhk6 ChmD+7wvVpg7TqzzgGbAtZ6ETgdf60GJYld68A9uWSxUZfn34dUrsKZ+CB1Vfureeo nX2Tz8J1by22HqNVF0HslGH4s324hb6Q0hPyZR1Y= Date: Mon, 20 Jul 2026 13:37:04 +0100 From: Leo Yan To: Pengpeng Hou Cc: Suzuki K Poulose , Mike Leach , James Clark , Alexander Shishkin , Jie Gan , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] coresight: dummy: add missing MODULE_DEVICE_TABLE() Message-ID: <20260720123704.GC3998092@e132581.arm.com> References: <20260720114514.51656-1-pengpeng@iscas.ac.cn> 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: <20260720114514.51656-1-pengpeng@iscas.ac.cn> On Mon, Jul 20, 2026 at 07:45:14PM +0800, Pengpeng Hou wrote: > The CoreSight dummy driver has an OF match table wired into its platform > driver, but does not export the table to module metadata. A modular build > therefore lacks OF aliases for automatic loading. > > Export dummy_match with MODULE_DEVICE_TABLE(). > > Fixes: 9d3ba0b6c056 ("Coresight: Add coresight dummy driver") > Reviewed-by: Jie Gan > Signed-off-by: Pengpeng Hou Reviewed-by: Leo Yan > --- > Changes since v1: https://lore.kernel.org/all/20260704121621.48544-1-pengpeng@iscas.ac.cn/ > - add the requested Fixes tag > - carry Jie Gan's conditional Reviewed-by after making that change > - rebase onto v7.2-rc4 > > drivers/hwtracing/coresight/coresight-dummy.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hwtracing/coresight/coresight-dummy.c b/drivers/hwtracing/coresight/coresight-dummy.c > index c176a2f57300..04880d38feb7 100644 > --- a/drivers/hwtracing/coresight/coresight-dummy.c > +++ b/drivers/hwtracing/coresight/coresight-dummy.c > @@ -212,6 +212,7 @@ static const struct of_device_id dummy_match[] = { > {.compatible = "arm,coresight-dummy-sink"}, > {}, > }; > +MODULE_DEVICE_TABLE(of, dummy_match); > > static struct platform_driver dummy_driver = { > .probe = dummy_probe, >