summaryrefslogtreecommitdiff
path: root/drivers/nfc/nfcsim.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-07-29 12:28:03 +0100
committerDavid S. Miller <davem@davemloft.net>2021-07-29 12:28:03 +0100
commit658e6b1612c6cc680381b6827dca9c3ee8862ee6 (patch)
tree1f467aaad6506580c04b14c5f54a725333ec6d35 /drivers/nfc/nfcsim.c
parent8cb79af5c63ff2dbcab048085302256dd7e8208d (diff)
parent2695503729dae562aea5e9bbd1722aa5fa1f05bf (diff)
Merge branch 'nfc-const'
Krzysztof Kozlowski says: ==================== nfc: constify, continued (part 2) On top of: nfc: constify pointed data https://lore.kernel.org/lkml/20210726145224.146006-1-krzysztof.kozlowski@canonical.com/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/nfcsim.c')
-rw-r--r--drivers/nfc/nfcsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/nfcsim.c b/drivers/nfc/nfcsim.c
index 143dc49b815b..15754671eb4d 100644
--- a/drivers/nfc/nfcsim.c
+++ b/drivers/nfc/nfcsim.c
@@ -240,7 +240,7 @@ static int nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb,
static void nfcsim_abort_cmd(struct nfc_digital_dev *ddev)
{
- struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
+ const struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
nfcsim_link_recv_cancel(dev->link_in);
}