ata: Enable module autoloading
v2 cover ata: Enable module autoloading
Hi all,
This patchset aims to enable autoloading of some use modules. By registering MDT, the kernel is allowed to automatically bind modules to devices that match the specified compatible strings.
Liao Chen (3):
ata: pata_ftide010: Enable module autoloading
ata: pata_ixp4xx: Enable module autoloading
ata: sata_gemini: Enable module autoloading
drivers/ata/pata_ftide010.c | 1 + drivers/ata/pata_ixp4xx_cf.c | 1 + drivers/ata/sata_gemini.c | 1 + 3 files changed, 3 insertions(+)
Signature · 1 line
2.34.1
PATCH v2 1/3 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.
--- drivers/ata/pata_ftide010.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/pata_ftide010.c +1 -0
@@ -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 = {
Signature · 1 line
2.34.1
Re: [PATCH -next v2 1/3] ata: pata_ftide010: Enable module autoloading
Quoted 5 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Liao Chen <[email protected]>Reviewed-by Sergey Shtylyov <[email protected]>
Yours,
Linus Walleij
PATCH v2 2/3 ata: pata_ixp4xx: Enable module autoloading
In reply to Liao ChenAdd MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based on the alias from of_device_id table.
--- drivers/ata/pata_ixp4xx_cf.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/pata_ixp4xx_cf.c +1 -0
@@ -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 = {
Signature · 1 line
2.34.1
Re: [PATCH -next v2 2/3] ata: pata_ixp4xx: Enable module autoloading
Quoted 5 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Liao Chen <[email protected]>Reviewed-by Sergey Shtylyov <[email protected]>
Yours,
Linus Walleij
PATCH v2 3/3 ata: sata_gemini: Enable module autoloading
In reply to Liao ChenAdd MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based on the alias from of_device_id table.
--- drivers/ata/sata_gemini.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/sata_gemini.c +1 -0
@@ -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 = {
Signature · 1 line
2.34.1
Quoted 11 lines · Liao Chen
Hi all,
This patchset aims to enable autoloading of some use modules. By registering MDT, the kernel is allowed to automatically bind modules to devices that match the specified compatible strings.
Liao Chen (3):
ata:pata_ftide010: Enable module autoloading
ata:pata_ixp4xx: Enable module autoloading
ata:sata_gemini: Enable module autoloading
Quoted 4 lines
drivers/ata/pata_ftide010.c | 1 + drivers/ata/pata_ixp4xx_cf.c | 1 + drivers/ata/sata_gemini.c | 1 + 3 files changed, 3 insertions(+)
Applied to for-6.12. Thanks !
Signature · 2 lines
Damien Le Moal Western Digital Research