Unverified Commit 709df70a authored by Liao Chen's avatar Liao Chen Committed by Mark Brown
Browse files

spi: bcm63xx: Enable module autoloading



Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
on the alias from of_device_id table.

Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
Link: https://patch.msgid.link/20240831094231.795024-1-liaochen4@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 29202946
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -472,6 +472,7 @@ static const struct of_device_id bcm63xx_spi_of_match[] = {
	{ .compatible = "brcm,bcm6358-spi", .data = &bcm6358_spi_reg_offsets },
	{ },
};
MODULE_DEVICE_TABLE(of, bcm63xx_spi_of_match);

static int bcm63xx_spi_probe(struct platform_device *pdev)
{