summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBixuan Cui <cuibixuan@huawei.com>2021-05-08 11:14:55 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-14 19:07:58 +0800
commit06676aa1f455c74e3ad1624cea3acb9ed2ef71ae (patch)
tree9196147c059a9f3bdedca6391b79ab1a0d71a443 /drivers
parenteb9e492f5c06fe197550e68973f88cba6e14274a (diff)
downloadlinux-06676aa1f455c74e3ad1624cea3acb9ed2ef71ae.tar.bz2
crypto: nx - add missing MODULE_DEVICE_TABLE
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> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/nx/nx-842-pseries.c1
1 files changed, 1 insertions, 0 deletions
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,