diff options
author | Bixuan Cui <cuibixuan@huawei.com> | 2021-05-12 11:37:27 +0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-05-14 11:54:53 +0200 |
commit | 0a37f32ba5272b2d4ec8c8d0f6b212b81b578f7e (patch) | |
tree | 378ae6c50a19edf28571e4b024d2d9a945ef5f90 /drivers/edac | |
parent | 89f5f8fb5bf4305a5425f70abf3c0d93643c93dc (diff) | |
download | linux-0a37f32ba5272b2d4ec8c8d0f6b212b81b578f7e.tar.gz linux-0a37f32ba5272b2d4ec8c8d0f6b212b81b578f7e.tar.bz2 linux-0a37f32ba5272b2d4ec8c8d0f6b212b81b578f7e.zip |
EDAC/ti: Add missing MODULE_DEVICE_TABLE
The module misses MODULE_DEVICE_TABLE() for of_device_id tables and thus
never autoloads on ID matches.
Add the missing declaration.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tero Kristo <kristo@kernel.org>
Link: https://lkml.kernel.org/r/20210512033727.26701-1-cuibixuan@huawei.com
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/ti_edac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/ti_edac.c b/drivers/edac/ti_edac.c index e7eae20f83d1..169f96e51c29 100644 --- a/drivers/edac/ti_edac.c +++ b/drivers/edac/ti_edac.c @@ -197,6 +197,7 @@ static const struct of_device_id ti_edac_of_match[] = { { .compatible = "ti,emif-dra7xx", .data = (void *)EMIF_TYPE_DRA7 }, {}, }; +MODULE_DEVICE_TABLE(of, ti_edac_of_match); static int _emif_get_id(struct device_node *node) { |