From: Waldemar Rymarkiewicz Date: Wed, 16 Jan 2013 14:51:51 +0000 (+0100) Subject: nfc: pn533: Use static poll_mod and std_frame_ops X-Git-Tag: accepted/tizen/common/20141203.182822~2855^2~31^2^2~78^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef3d56e189754e305add852110c3d6d863b6293c;p=platform%2Fkernel%2Flinux-arm64.git nfc: pn533: Use static poll_mod and std_frame_ops These variables are not exported. Signed-off-by: Waldemar Rymarkiewicz Signed-off-by: Samuel Ortiz --- 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,