Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Liao Chen and committed by
Damien Le Moal
4b4e1a96 9526dec2

+1
+1
drivers/ata/pata_ftide010.c
··· 549 549 { .compatible = "faraday,ftide010", }, 550 550 { /* sentinel */ } 551 551 }; 552 + MODULE_DEVICE_TABLE(of, pata_ftide010_of_match); 552 553 553 554 static struct platform_driver pata_ftide010_driver = { 554 555 .driver = {