Commit 81ade1cd authored by Colin Ian King's avatar Colin Ian King Committed by Samuel Ortiz

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 5057f664
...@@ -726,7 +726,7 @@ static struct nci_driver_ops fdp_prop_ops[] = { ...@@ -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, .open = fdp_nci_open,
.close = fdp_nci_close, .close = fdp_nci_close,
.send = fdp_nci_send, .send = fdp_nci_send,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment