Commit ec4d817c authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: default avatarJakub Kicinski <kuba@kernel.org>
parents d76867ef 7d2bd8ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,
+1 −0
Original line number Diff line number Diff line
@@ -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 },
+1 −0
Original line number Diff line number Diff line
@@ -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,