From: "Arnd Bergmann" <arnd@arndb.de>
To: "Yuntao Liu" <liuyuntao12@huawei.com>,
openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org,
"linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>,
linux-i2c@vger.kernel.org, linux-usb@vger.kernel.org
Cc: "Corey Minyard" <minyard@acm.org>,
"Ludovic.Desroches" <ludovic.desroches@microchip.com>,
"Vinod Koul" <vkoul@kernel.org>,
"Daniel Mack" <daniel@zonque.org>,
"Haojian Zhuang" <haojian.zhuang@gmail.com>,
"Robert Jarzmik" <robert.jarzmik@free.fr>,
morbidrsa@gmail.com, "Borislav Petkov" <bp@alien8.de>,
"Tony Luck" <tony.luck@intel.com>,
"James Morse" <james.morse@arm.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Robert Richter" <rric@kernel.org>,
codrin.ciubotariu@microchip.com,
"Andi Shyti" <andi.shyti@kernel.org>,
"Nicolas Ferre" <nicolas.ferre@microchip.com>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Alan Stern" <stern@rowland.harvard.edu>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Duje Mihanović" <duje.mihanovic@skole.hr>,
"Mark Brown" <broonie@kernel.org>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH -next 7/9] dmaengine: mmp_pdma: fix module autoloading
Date: Mon, 19 Aug 2024 13:59:41 +0200 [thread overview]
Message-ID: <1dfd5bdc-36a9-4ccf-a07d-815f9951f3e2@app.fastmail.com> (raw)
In-Reply-To: <20240819113855.787149-8-liuyuntao12@huawei.com>
On Mon, Aug 19, 2024, at 13:38, Yuntao Liu wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from platform_device_id table.
>
> Signed-off-by: Yuntao Liu <liuyuntao12@huawei.com>
> ---
> drivers/dma/mmp_pdma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
> index 136fcaeff8dd..05d051ecf833 100644
> --- a/drivers/dma/mmp_pdma.c
> +++ b/drivers/dma/mmp_pdma.c
> @@ -1129,6 +1129,7 @@ static const struct platform_device_id
> mmp_pdma_id_table[] = {
> { "mmp-pdma", },
> { },
> };
> +MODULE_DEVICE_TABLE(platform, mmp_pdma_id_table);
It appears that this table was never used in upstream kernels,
as the driver already used DT when it was first added.
Arnd
next prev parent reply other threads:[~2024-08-19 12:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 11:38 [PATCH -next 0/9] drivers: fix some module autoloading Yuntao Liu
2024-08-19 11:38 ` [PATCH -next 1/9] usb: ehci-mv: fix " Yuntao Liu
2024-08-19 11:49 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 2/9] soc: pxa: ssp: " Yuntao Liu
2024-08-19 11:50 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 3/9] misc: atmel-ssc: " Yuntao Liu
2024-08-19 11:54 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 4/9] i2c: at91: " Yuntao Liu
2024-08-19 11:55 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 5/9] mpc85xx_edac: " Yuntao Liu
2024-08-19 11:57 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 6/9] dmaengine: pxa: " Yuntao Liu
2024-08-19 11:58 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 7/9] dmaengine: mmp_pdma: " Yuntao Liu
2024-08-19 11:59 ` Arnd Bergmann [this message]
2024-08-19 11:38 ` [PATCH -next 8/9] dmaengine: at_hdmac: " Yuntao Liu
2024-08-19 12:01 ` Arnd Bergmann
2024-08-19 11:38 ` [PATCH -next 9/9] ipmi: ipmi_ssif: " Yuntao Liu
2024-08-19 12:03 ` Arnd Bergmann
2024-08-19 12:09 ` [PATCH -next 0/9] drivers: fix some " Arnd Bergmann
2024-08-19 12:23 ` liuyuntao (F)
2024-08-19 20:31 ` Andi Shyti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1dfd5bdc-36a9-4ccf-a07d-815f9951f3e2@app.fastmail.com \
--to=arnd@arndb.de \
--cc=alexandre.belloni@bootlin.com \
--cc=andi.shyti@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bp@alien8.de \
--cc=broonie@kernel.org \
--cc=claudiu.beznea@tuxon.dev \
--cc=codrin.ciubotariu@microchip.com \
--cc=daniel@zonque.org \
--cc=dmaengine@vger.kernel.org \
--cc=duje.mihanovic@skole.hr \
--cc=gregkh@linuxfoundation.org \
--cc=haojian.zhuang@gmail.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-edac@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=liuyuntao12@huawei.com \
--cc=ludovic.desroches@microchip.com \
--cc=mchehab@kernel.org \
--cc=minyard@acm.org \
--cc=morbidrsa@gmail.com \
--cc=nicolas.ferre@microchip.com \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=robert.jarzmik@free.fr \
--cc=rric@kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=tony.luck@intel.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox