mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +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
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ static const struct nfcmrvl_if_ops spi_ops = {
|
||||||
.nci_update_config = nfcmrvl_spi_nci_update_config,
|
.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)
|
struct nfcmrvl_platform_data *pdata)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue