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>
This commit is contained in:
parent
5057f6647b
commit
81ade1cd67
|
@ -726,7 +726,7 @@ static struct nci_driver_ops fdp_prop_ops[] = {
|
|||
},
|
||||
};
|
||||
|
||||
struct nci_ops nci_ops = {
|
||||
static struct nci_ops nci_ops = {
|
||||
.open = fdp_nci_open,
|
||||
.close = fdp_nci_close,
|
||||
.send = fdp_nci_send,
|
||||
|
|
Loading…
Reference in a new issue