diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-07 12:31:28 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-15 17:30:30 -0400 |
commit | e5fe4cf8ee2bf15c0f44f9eba06147cdddbddf6d (patch) | |
tree | aa98923d20d5e688a2967dd27d09a2a65f4e12ea /drivers/nfc | |
parent | bd007bea21f3a51fc67cbcec412725b2d86f1b27 (diff) | |
download | op-kernel-dev-e5fe4cf8ee2bf15c0f44f9eba06147cdddbddf6d.zip op-kernel-dev-e5fe4cf8ee2bf15c0f44f9eba06147cdddbddf6d.tar.gz |
NFC: The NFC genl family structure should not be exposed globally
The variable 'nfc_genl_family' is only referenced in this file and
should be marked static to prevent it from being exposed globally.
Quites the sparse warning:
warning: symbol 'nfc_genl_family' 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>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions