* [PATCH -next] crypto: nx842: add missing MODULE_DEVICE_TABLE
@ 2021-05-08 3:14 Bixuan Cui
2021-05-14 11:36 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Bixuan Cui @ 2021-05-08 3:14 UTC (permalink / raw)
To: cuibixuan, Haren Myneni, Herbert Xu, David S. Miller,
Michael Ellerman
Cc: kernel-janitors, linuxppc-dev, linux-crypto
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
---
drivers/crypto/nx/nx-842-pseries.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/nx/nx-842-pseries.c b/drivers/crypto/nx/nx-842-pseries.c
index cc8dd3072b8b..8ee547ee378e 100644
--- a/drivers/crypto/nx/nx-842-pseries.c
+++ b/drivers/crypto/nx/nx-842-pseries.c
@@ -1069,6 +1069,7 @@ static const struct vio_device_id nx842_vio_driver_ids[] = {
{"ibm,compression-v1", "ibm,compression"},
{"", ""},
};
+MODULE_DEVICE_TABLE(vio, nx842_vio_driver_ids);
static struct vio_driver nx842_vio_driver = {
.name = KBUILD_MODNAME,
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-14 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-08 3:14 [PATCH -next] crypto: nx842: add missing MODULE_DEVICE_TABLE Bixuan Cui
2021-05-14 11:36 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox