projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'usb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux-2.6-microblaze.git]
/
net
/
nfc
/
digital_core.c
diff --git
a/net/nfc/digital_core.c
b/net/nfc/digital_core.c
index
5044c7d
..
fefc036
100644
(file)
--- a/
net/nfc/digital_core.c
+++ b/
net/nfc/digital_core.c
@@
-732,7
+732,7
@@
exit:
return rc;
}
return rc;
}
-static struct nfc_ops digital_nfc_ops = {
+static
const
struct nfc_ops digital_nfc_ops = {
.dev_up = digital_dev_up,
.dev_down = digital_dev_down,
.start_poll = digital_start_poll,
.dev_up = digital_dev_up,
.dev_down = digital_dev_down,
.start_poll = digital_start_poll,
@@
-745,7
+745,7
@@
static struct nfc_ops digital_nfc_ops = {
.im_transceive = digital_in_send,
};
.im_transceive = digital_in_send,
};
-struct nfc_digital_dev *nfc_digital_allocate_device(struct nfc_digital_ops *ops,
+struct nfc_digital_dev *nfc_digital_allocate_device(
const
struct nfc_digital_ops *ops,
__u32 supported_protocols,
__u32 driver_capabilities,
int tx_headroom, int tx_tailroom)
__u32 supported_protocols,
__u32 driver_capabilities,
int tx_headroom, int tx_tailroom)