diff options
author | Qiheng Lin <linqiheng@huawei.com> | 2021-04-09 14:09:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-12 02:42:38 +0300 |
commit | 95291ced8169d157f42232e2463d27fb16da2efe (patch) | |
tree | 8022d5b8573a1d22508d4e3afd436504a4e93200 /drivers/net/ethernet/ibm | |
parent | 23cfa4d4aa9fa634e43edd7f92cde4f050b4f2db (diff) | |
download | linux-95291ced8169d157f42232e2463d27fb16da2efe.tar.xz |
ehea: 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: Qiheng Lin <linqiheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm')
-rw-r--r-- | drivers/net/ethernet/ibm/ehea/ehea_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c index c2e740475786..ea55314b209d 100644 --- a/drivers/net/ethernet/ibm/ehea/ehea_main.c +++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c @@ -109,6 +109,7 @@ static const struct of_device_id ehea_device_table[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, ehea_device_table); static struct platform_driver ehea_driver = { .driver = { |