ata: sata_gemini: 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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
This commit is contained in:
parent
619c98622b
commit
0f3e1eaaf7
@ -417,6 +417,7 @@ static const struct of_device_id gemini_sata_of_match[] = {
|
||||
{ .compatible = "cortina,gemini-sata-bridge", },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, gemini_sata_of_match);
|
||||
|
||||
static struct platform_driver gemini_sata_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user