Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bixuan Cui and committed by
Herbert Xu
06676aa1 eb9e492f

+1
+1
drivers/crypto/nx/nx-842-pseries.c
··· 1069 1069 {"ibm,compression-v1", "ibm,compression"}, 1070 1070 {"", ""}, 1071 1071 }; 1072 + MODULE_DEVICE_TABLE(vio, nx842_vio_driver_ids); 1072 1073 1073 1074 static struct vio_driver nx842_vio_driver = { 1074 1075 .name = KBUILD_MODNAME,