diff options
author | Vincent Cuissard <cuissard@marvell.com> | 2015-10-26 10:27:45 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-27 04:24:54 +0100 |
commit | d8e018c0b3211902af1bfb5d5b280f955a4633b7 (patch) | |
tree | bd0b2d8b5d75f401e351c473bf63cf9f51f7c6cc /drivers/nfc/nfcmrvl/uart.c | |
parent | caf6e49bf6d02e6bb94df680bbe3beaf680fdefa (diff) | |
download | linux-d8e018c0b3211902af1bfb5d5b280f955a4633b7.tar.gz |
NFC: nfcmrvl: update device tree bindings for Marvell NFC
Align NFC bindgins to use marvell instead of mrvl.
Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcmrvl/uart.c')
-rw-r--r-- | drivers/nfc/nfcmrvl/uart.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/nfc/nfcmrvl/uart.c b/drivers/nfc/nfcmrvl/uart.c index 4dccee2566cf..f3d041c4f249 100644 --- a/drivers/nfc/nfcmrvl/uart.c +++ b/drivers/nfc/nfcmrvl/uart.c @@ -75,9 +75,13 @@ static int nfcmrvl_uart_parse_dt(struct device_node *node, struct device_node *matched_node; int ret; - matched_node = of_find_compatible_node(node, NULL, "mrvl,nfc-uart"); - if (!matched_node) - return -ENODEV; + matched_node = of_find_compatible_node(node, NULL, "marvell,nfc-uart"); + if (!matched_node) { + matched_node = of_find_compatible_node(node, NULL, + "mrvl,nfc-uart"); + if (!matched_node) + return -ENODEV; + } ret = nfcmrvl_parse_dt(matched_node, pdata); if (ret < 0) { |