mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
crypto: nx - add missing MODULE_DEVICE_TABLE
[ Upstream commit 06676aa1f4 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4e8c9510b7
commit
93f80a0bbd
|
|
@ -1071,6 +1071,7 @@ static const struct vio_device_id nx842_vio_driver_ids[] = {
|
||||||
{"ibm,compression-v1", "ibm,compression"},
|
{"ibm,compression-v1", "ibm,compression"},
|
||||||
{"", ""},
|
{"", ""},
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(vio, nx842_vio_driver_ids);
|
||||||
|
|
||||||
static struct vio_driver nx842_vio_driver = {
|
static struct vio_driver nx842_vio_driver = {
|
||||||
.name = KBUILD_MODNAME,
|
.name = KBUILD_MODNAME,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user