diff options
author | Liao Chen <liaochen4@huawei.com> | 2024-08-31 07:21:56 +0000 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-09-02 08:05:36 +0900 |
commit | 4b4e1a961f6e72c6889f37694cafbd30ea10ec36 (patch) | |
tree | 1e46bf3a553ec086dc8e812ff8c3c2dd1f6e691b /drivers/ata | |
parent | 9526dec226f0779d72f798e7a18375bf8d414775 (diff) | |
download | linux-4b4e1a961f6e72c6889f37694cafbd30ea10ec36.tar.gz linux-4b4e1a961f6e72c6889f37694cafbd30ea10ec36.tar.bz2 linux-4b4e1a961f6e72c6889f37694cafbd30ea10ec36.zip |
ata: pata_ftide010: Enable module autoloading
Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_ftide010.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_ftide010.c b/drivers/ata/pata_ftide010.c index 4d6ef90ccc77..73a9a5109238 100644 --- a/drivers/ata/pata_ftide010.c +++ b/drivers/ata/pata_ftide010.c @@ -549,6 +549,7 @@ static const struct of_device_id pata_ftide010_of_match[] = { { .compatible = "faraday,ftide010", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, pata_ftide010_of_match); static struct platform_driver pata_ftide010_driver = { .driver = { |