spi: bcm63xx: Fix module autoloading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>

commit 909f34f2462a99bf876f64c5c61c653213e32fce upstream.

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

Fixes: 44d8fb30941d ("spi/bcm63xx: move register definitions into the driver")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
Reviewed-by: Jonas Gorski <jonas.gorski@xxxxxxxxx>
Link: https://patch.msgid.link/20240819123349.4020472-2-ruanjinjie@xxxxxxxxxx
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/spi/spi-bcm63xx.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/spi/spi-bcm63xx.c
+++ b/drivers/spi/spi-bcm63xx.c
@@ -475,6 +475,7 @@ static const struct platform_device_id b
 	{
 	},
 };
+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 },


Patches currently in stable-queue which might be from ruanjinjie@xxxxxxxxxx are

queue-5.4/bluetooth-btmrvl-use-irqf_no_autoen-flag-in-request_.patch
queue-5.4/nfp-use-irqf_no_autoen-flag-in-request_irq.patch
queue-5.4/spi-bcm63xx-fix-module-autoloading.patch
queue-5.4/riscv-fix-fp-alignment-bug-in-perf_callchain_user.patch
queue-5.4/net-ieee802154-mcr20a-use-irqf_no_autoen-flag-in-req.patch
queue-5.4/ntb-intel-fix-the-null-vs-is_err-bug-for-debugfs_cre.patch
queue-5.4/ieee802154-fix-build-error.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux