summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2013-01-16 15:51:51 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-29 18:06:12 +0100
commitef3d56e189754e305add852110c3d6d863b6293c (patch)
treead1d38ea980a296485391efaf60e1cc9237bb4c5 /drivers/nfc
parent9ebea3829fac7505e0cd2642fbd13cfa9c038831 (diff)
downloadop-kernel-dev-ef3d56e189754e305add852110c3d6d863b6293c.zip
op-kernel-dev-ef3d56e189754e305add852110c3d6d863b6293c.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index f696318..0d7caf7 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -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,
@@ -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,
OpenPOWER on IntegriCloud