Commit ef3d56e1 authored by Waldemar Rymarkiewicz's avatar Waldemar Rymarkiewicz Committed by Samuel Ortiz

nfc: pn533: Use static poll_mod and std_frame_ops

These variables are not exported.
Signed-off-by: default avatarWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 9ebea382
...@@ -219,7 +219,7 @@ struct pn533_poll_modulations { ...@@ -219,7 +219,7 @@ struct pn533_poll_modulations {
u8 len; u8 len;
}; };
const struct pn533_poll_modulations poll_mod[] = { static const struct pn533_poll_modulations poll_mod[] = {
[PN533_POLL_MOD_106KBPS_A] = { [PN533_POLL_MOD_106KBPS_A] = {
.data = { .data = {
.maxtg = 1, .maxtg = 1,
...@@ -485,7 +485,7 @@ static u8 pn533_get_cmd_code(void *frame) ...@@ -485,7 +485,7 @@ static u8 pn533_get_cmd_code(void *frame)
return PN533_FRAME_CMD(f); return PN533_FRAME_CMD(f);
} }
struct pn533_frame_ops pn533_std_frame_ops = { static struct pn533_frame_ops pn533_std_frame_ops = {
.tx_frame_init = pn533_tx_frame_init, .tx_frame_init = pn533_tx_frame_init,
.tx_frame_finish = pn533_tx_frame_finish, .tx_frame_finish = pn533_tx_frame_finish,
.tx_update_payload_len = pn533_tx_update_payload_len, .tx_update_payload_len = pn533_tx_update_payload_len,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment