diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-07-29 12:42:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-29 12:28:03 +0100 |
commit | 2695503729dae562aea5e9bbd1722aa5fa1f05bf (patch) | |
tree | 1f467aaad6506580c04b14c5f54a725333ec6d35 /drivers/nfc/nfcmrvl/main.c | |
parent | fe53159fe3e0639a75ffbe320b9909e0055c743f (diff) | |
download | lwn-2695503729dae562aea5e9bbd1722aa5fa1f05bf.tar.gz lwn-2695503729dae562aea5e9bbd1722aa5fa1f05bf.zip |
nfc: mrvl: constify static nfcmrvl_if_ops
File-scope struct nfcmrvl_if_ops is not modified so can be made const.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/nfcmrvl/main.c')
-rw-r--r-- | drivers/nfc/nfcmrvl/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/nfcmrvl/main.c b/drivers/nfc/nfcmrvl/main.c index d8e48bdaf652..2fcf545012b1 100644 --- a/drivers/nfc/nfcmrvl/main.c +++ b/drivers/nfc/nfcmrvl/main.c @@ -91,7 +91,7 @@ static const struct nci_ops nfcmrvl_nci_ops = { struct nfcmrvl_private *nfcmrvl_nci_register_dev(enum nfcmrvl_phy phy, void *drv_data, - struct nfcmrvl_if_ops *ops, + const struct nfcmrvl_if_ops *ops, struct device *dev, const struct nfcmrvl_platform_data *pdata) { |