mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Merge branch 'net-fix-module-autoloading'
Liao Chen says: ==================== net: fix module autoloading This patchset aims to enable autoloading of some net modules. By registering MDT, the kernel is allowed to automatically bind modules to devices that match the specified compatible strings. ==================== Link: https://patch.msgid.link/20240826091858.369910-1-liaochen4@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -2022,6 +2022,7 @@ static const struct of_device_id ag71xx_match[] = {
|
||||
{ .compatible = "qca,qca9560-eth", .data = &ag71xx_dcfg_qca9550 },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, ag71xx_match);
|
||||
|
||||
static struct platform_driver ag71xx_driver = {
|
||||
.probe = ag71xx_probe,
|
||||
|
||||
@@ -1235,6 +1235,7 @@ static const struct of_device_id dm9051_match_table[] = {
|
||||
{ .compatible = "davicom,dm9051" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, dm9051_match_table);
|
||||
|
||||
static const struct spi_device_id dm9051_id_table[] = {
|
||||
{ "dm9051", 0 },
|
||||
|
||||
@@ -2775,6 +2775,7 @@ static const struct of_device_id of_airoha_match[] = {
|
||||
{ .compatible = "airoha,en7581-eth" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, of_airoha_match);
|
||||
|
||||
static struct platform_driver airoha_driver = {
|
||||
.probe = airoha_probe,
|
||||
|
||||
Reference in New Issue
Block a user