Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Colin Ian King and committed by
Samuel Ortiz
81ade1cd 5057f664

+1 -1
+1 -1
drivers/nfc/fdp/fdp.c
··· 726 726 }, 727 727 }; 728 728 729 - struct nci_ops nci_ops = { 729 + static struct nci_ops nci_ops = { 730 730 .open = fdp_nci_open, 731 731 .close = fdp_nci_close, 732 732 .send = fdp_nci_send,