Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,