mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
spi: bcm63xx: Fix module autoloading
commit909f34f246
upstream. Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from platform_device_id table. Fixes:44d8fb3094
("spi/bcm63xx: move register definitions into the driver") Cc: stable@vger.kernel.org Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Jonas Gorski <jonas.gorski@gmail.com> Link: https://patch.msgid.link/20240819123349.4020472-2-ruanjinjie@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0a42f63607
commit
f2d0b351e0
|
@ -466,6 +466,7 @@ static const struct platform_device_id bcm63xx_spi_dev_match[] = {
|
|||
{
|
||||
},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, bcm63xx_spi_dev_match);
|
||||
|
||||
static const struct of_device_id bcm63xx_spi_of_match[] = {
|
||||
{ .compatible = "brcm,bcm6348-spi", .data = &bcm6348_spi_reg_offsets },
|
||||
|
|
Loading…
Reference in New Issue
Block a user