Commit bd007bea authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by John W. Linville
Browse files

NFC: HCI ops should not be exposed globally

The variable 'hci_nfc_ops' is only referenced in this file and
should be marked static to prevent it from being exposed globally.

Quites the sparse warning:

warning: symbol 'hci_nfc_ops' was not declared. Should it be static?
Signed-off-by: default avatarH Hartley Sweeten <>
Cc: Lauro Ramos Venancio <>
Cc: Aloisio Almeida Jr <>
Cc: Samuel Ortiz <>
Cc: "David S. Miller" <>
Signed-off-by: default avatarSamuel Ortiz <>
Signed-off-by: default avatarJohn W. Linville <>
parent 799030b7
......@@ -585,7 +585,7 @@ static int hci_check_presence(struct nfc_dev *nfc_dev,
return 0;
struct nfc_ops hci_nfc_ops = {
static struct nfc_ops hci_nfc_ops = {
.dev_up = hci_dev_up,
.dev_down = hci_dev_down,
.start_poll = hci_start_poll,
Supports Markdown
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