diff options
| author | Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> | 2013-01-16 09:51:51 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-29 12:06:12 -0500 |
| commit | ef3d56e189754e305add852110c3d6d863b6293c (patch) | |
| tree | ad1d38ea980a296485391efaf60e1cc9237bb4c5 /drivers/nfc | |
| parent | 9ebea3829fac7505e0cd2642fbd13cfa9c038831 (diff) | |
nfc: pn533: Use static poll_mod and std_frame_ops
These variables are not exported.
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
| -rw-r--r-- | drivers/nfc/pn533.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index f696318cfb51..0d7caf782571 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c | |||
| @@ -219,7 +219,7 @@ struct pn533_poll_modulations { | |||
| 219 | u8 len; | 219 | u8 len; |
| 220 | }; | 220 | }; |
| 221 | 221 | ||
| 222 | const struct pn533_poll_modulations poll_mod[] = { | 222 | static const struct pn533_poll_modulations poll_mod[] = { |
| 223 | [PN533_POLL_MOD_106KBPS_A] = { | 223 | [PN533_POLL_MOD_106KBPS_A] = { |
| 224 | .data = { | 224 | .data = { |
| 225 | .maxtg = 1, | 225 | .maxtg = 1, |
| @@ -485,7 +485,7 @@ static u8 pn533_get_cmd_code(void *frame) | |||
| 485 | return PN533_FRAME_CMD(f); | 485 | return PN533_FRAME_CMD(f); |
| 486 | } | 486 | } |
| 487 | 487 | ||
| 488 | struct pn533_frame_ops pn533_std_frame_ops = { | 488 | static struct pn533_frame_ops pn533_std_frame_ops = { |
| 489 | .tx_frame_init = pn533_tx_frame_init, | 489 | .tx_frame_init = pn533_tx_frame_init, |
| 490 | .tx_frame_finish = pn533_tx_frame_finish, | 490 | .tx_frame_finish = pn533_tx_frame_finish, |
| 491 | .tx_update_payload_len = pn533_tx_update_payload_len, | 491 | .tx_update_payload_len = pn533_tx_update_payload_len, |
