Skip to content

Commit

Permalink
nfc: pn533: Use static poll_mod and std_frame_ops
Browse files Browse the repository at this point in the history
These variables are not exported.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Waldemar Rymarkiewicz authored and Samuel Ortiz committed Jan 29, 2013
1 parent 9ebea38 commit ef3d56e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/nfc/pn533.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ struct pn533_poll_modulations {
u8 len;
};

const struct pn533_poll_modulations poll_mod[] = {
static const struct pn533_poll_modulations poll_mod[] = {
[PN533_POLL_MOD_106KBPS_A] = {
.data = {
.maxtg = 1,
Expand Down Expand Up @@ -485,7 +485,7 @@ static u8 pn533_get_cmd_code(void *frame)
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_finish = pn533_tx_frame_finish,
.tx_update_payload_len = pn533_tx_update_payload_len,
Expand Down

0 comments on commit ef3d56e

Please sign in to comment.