mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
nfc: mrvl: correct nfcmrvl_spi_parse_dt() device_node argument
The device_node in nfcmrvl_spi_parse_dt() cannot be const as it is passed to OF functions which modify it. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
79976892f7
commit
3833b87408
@ -106,7 +106,7 @@ static const struct nfcmrvl_if_ops spi_ops = {
|
||||
.nci_update_config = nfcmrvl_spi_nci_update_config,
|
||||
};
|
||||
|
||||
static int nfcmrvl_spi_parse_dt(const struct device_node *node,
|
||||
static int nfcmrvl_spi_parse_dt(struct device_node *node,
|
||||
struct nfcmrvl_platform_data *pdata)
|
||||
{
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user