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 2/9] soc: pxa: ssp: fix module autoloading
Date: Mon, 19 Aug 2024 13:50:52 +0200 [thread overview]
Message-ID: <cd6728ec-a429-4196-835c-94587cda7d74@app.fastmail.com> (raw)
In-Reply-To: <20240819113855.787149-3-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/soc/pxa/ssp.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/pxa/ssp.c b/drivers/soc/pxa/ssp.c
> index 854d32e04558..6ac3f376d030 100644
> --- a/drivers/soc/pxa/ssp.c
> +++ b/drivers/soc/pxa/ssp.c
> @@ -194,6 +194,7 @@ static const struct platform_device_id ssp_id_table[] = {
> { "pxa910-ssp", PXA910_SSP },
> { },
> };
> +MODULE_DEVICE_TABLE(platform, ssp_id_table);
>
I think we can drop support for legacy probing early next
year when the last pxa board files are gone, so this is
no longer needed.
Arnd
next prev parent reply other threads:[~2024-08-19 11:51 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 [this message]
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
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=cd6728ec-a429-4196-835c-94587cda7d74@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