]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
nfc: pn533: Use static poll_mod and std_frame_ops
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Wed, 16 Jan 2013 14:51:51 +0000 (15:51 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Jan 2013 17:06:12 +0000 (18:06 +0100)
These variables are not exported.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c

index f696318cfb512eb80c70623ee4e9d23edf27abbf..0d7caf782571febb24fbe2bc672586311183f1e7 100644 (file)
@@ -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,