Skip to content

Commit 81ade1c

Browse files
Colin Ian KingSamuel Ortiz
authored andcommitted
NFC: fdp: make struct nci_ops static
The structure nci_ops is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'nci_ops' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 5057f66 commit 81ade1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/nfc/fdp/fdp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ static struct nci_driver_ops fdp_prop_ops[] = {
726726
},
727727
};
728728

729-
struct nci_ops nci_ops = {
729+
static struct nci_ops nci_ops = {
730730
.open = fdp_nci_open,
731731
.close = fdp_nci_close,
732732
.send = fdp_nci_send,

0 commit comments

Comments
 (0)