mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-09-13 11:07:46 +10:00
microchip: lan865x: Fix LAN8651 autoloading
Add missing IDs for LAN8651 devices, which are also defined in the
DT bindings.
Fixes: 5cd2340cb6
("microchip: lan865x: add driver support for Microchip's LAN865X MAC-PHY")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Cc: stable@kernel.org
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250827115341.34608-4-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
c7217963eb
commit
ca47c44d36
@ -425,12 +425,14 @@ static void lan865x_remove(struct spi_device *spi)
|
||||
|
||||
static const struct spi_device_id lan865x_ids[] = {
|
||||
{ .name = "lan8650" },
|
||||
{ .name = "lan8651" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, lan865x_ids);
|
||||
|
||||
static const struct of_device_id lan865x_dt_ids[] = {
|
||||
{ .compatible = "microchip,lan8650" },
|
||||
{ .compatible = "microchip,lan8651" },
|
||||
{ /* Sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, lan865x_dt_ids);
|
||||
|
Loading…
Reference in New Issue
Block a user