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>
This commit is contained in:
parent
9526dec226
commit
4b4e1a961f
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user