mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
nvmem: lan9662-otp: Fix compatible string
The device tree bindings for lan9662-otp expects the compatible string
to be one of following compatible strings:
microchip,lan9662-otpc
microchip,lan9668-otpc
The problem is that the lan9662-otp driver contains the
microchip,lan9662-otp compatible string instead of
microchip,lan9662-otpc.
Fix this by updating the compatible string in the driver.
Fixes: 9e8f208ad5
("nvmem: lan9662-otp: add support")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20220928195112.630351-1-horatiu.vultur@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3ce00bb7e9
commit
1aeb122d21
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ static int lan9662_otp_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
static const struct of_device_id lan9662_otp_match[] = {
|
||||
{ .compatible = "microchip,lan9662-otp", },
|
||||
{ .compatible = "microchip,lan9662-otpc", },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, lan9662_otp_match);
|
||||
|
|
Loading…
Add table
Reference in a new issue