NFC: HCI ops should not be exposed globally
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 7 May 2012 10:31:27 +0000 (12:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:30:30 +0000 (17:30 -0400)
commitbd007bea21f3a51fc67cbcec412725b2d86f1b27
tree02263504ce2fb60a25efe1a9beb39158ed4404cd
parent799030b75a4398b4e75ca5cb5ec790dc75986111
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/hci/core.c