提交 81ade1cd 编写于 作者: C Colin Ian King 提交者: 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: NColin Ian King <colin.king@canonical.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册