diff options
author | Liao Chen <liaochen4@huawei.com> | 2024-08-31 07:21:57 +0000 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-09-02 08:06:04 +0900 |
commit | 619c98622b74f97e78ec71cc99ee0d365bcc690f (patch) | |
tree | 195dbf50f6697a15d7c9e206558ecbd561fd5929 /drivers/ata | |
parent | 4b4e1a961f6e72c6889f37694cafbd30ea10ec36 (diff) | |
download | linux-stable-619c98622b74f97e78ec71cc99ee0d365bcc690f.tar.gz linux-stable-619c98622b74f97e78ec71cc99ee0d365bcc690f.tar.bz2 linux-stable-619c98622b74f97e78ec71cc99ee0d365bcc690f.zip |
ata: pata_ixp4xx: 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_ixp4xx_cf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index 246bb4f8f1f7..8a9ee828478f 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c @@ -290,6 +290,7 @@ static const struct of_device_id ixp4xx_pata_of_match[] = { { .compatible = "intel,ixp4xx-compact-flash", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, ixp4xx_pata_of_match); static struct platform_driver ixp4xx_pata_platform_driver = { .driver = { |