summaryrefslogtreecommitdiff
path: root/net/nfc/hci/llc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-07-27 03:36:23 +0100
committerMark Brown <broonie@kernel.org>2021-07-27 03:36:23 +0100
commit5a0b5fbe7b41515ebf5e5cb1f70a6bd220f44df2 (patch)
tree4c87298c3ad3c7b58c169e56cace092b80442372 /net/nfc/hci/llc.h
parentc72249d40e91c77de63b782a84b115038341fde7 (diff)
parent268ca4129d8da764fdf72916f762a1145c6ea743 (diff)
downloadlinux-next-5a0b5fbe7b41515ebf5e5cb1f70a6bd220f44df2.tar.gz
Merge remote-tracking branch 'net-next/master'
# Conflicts: # drivers/bus/mhi/pci_generic.c
Diffstat (limited to 'net/nfc/hci/llc.h')
-rw-r--r--net/nfc/hci/llc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/nfc/hci/llc.h b/net/nfc/hci/llc.h
index 823ddb621e5d..d66271d211a5 100644
--- a/net/nfc/hci/llc.h
+++ b/net/nfc/hci/llc.h
@@ -26,20 +26,20 @@ struct nfc_llc_ops {
struct nfc_llc_engine {
const char *name;
- struct nfc_llc_ops *ops;
+ const struct nfc_llc_ops *ops;
struct list_head entry;
};
struct nfc_llc {
void *data;
- struct nfc_llc_ops *ops;
+ const struct nfc_llc_ops *ops;
int rx_headroom;
int rx_tailroom;
};
void *nfc_llc_get_data(struct nfc_llc *llc);
-int nfc_llc_register(const char *name, struct nfc_llc_ops *ops);
+int nfc_llc_register(const char *name, const struct nfc_llc_ops *ops);
void nfc_llc_unregister(const char *name);
int nfc_llc_nop_register(void);