diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-10-07 08:18:44 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-10-07 08:18:44 -0400 |
commit | ddc1a70b5f2a07a932ed31f989d63937bb813439 (patch) | |
tree | 74d13bb7931a53e8956dace29e1ae5dec4550317 /net/nfc | |
parent | 7227c0216d2f879d548e8028dc0298a6156ae633 (diff) |
NFC: Fix SE API related sparse warning
se_io_cb can be declared static. This fixes the following sparse
warning:
net/nfc/netlink.c:1287:6: warning: symbol 'se_io_cb' was not declared.
Should it be static?
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r-- | net/nfc/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c index a3dee05cb64b..84b7e3ea7b7a 100644 --- a/net/nfc/netlink.c +++ b/net/nfc/netlink.c | |||
@@ -1284,7 +1284,7 @@ struct se_io_ctx { | |||
1284 | u32 se_idx; | 1284 | u32 se_idx; |
1285 | }; | 1285 | }; |
1286 | 1286 | ||
1287 | void se_io_cb(void *context, u8 *apdu, size_t apdu_len, int err) | 1287 | static void se_io_cb(void *context, u8 *apdu, size_t apdu_len, int err) |
1288 | { | 1288 | { |
1289 | struct se_io_ctx *ctx = context; | 1289 | struct se_io_ctx *ctx = context; |
1290 | struct sk_buff *msg; | 1290 | struct sk_buff *msg; |