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

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: 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 bd007bea
......@@ -33,7 +33,7 @@ static struct genl_multicast_group nfc_genl_event_mcgrp = {
struct genl_family nfc_genl_family = {
static struct genl_family nfc_genl_family = {
.hdrsize = 0,
.name = NFC_GENL_NAME,
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