Skip to content

Commit

Permalink
NFC: digital: digital_tg_send_sensf_res() can be static
Browse files Browse the repository at this point in the history
Fixes sparse hint:

net/nfc/digital_technology.c:640:5: sparse: symbol 'digital_tg_send_sensf_res'
was not declared. Should it be static?

Cc: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Fengguang Wu authored and Samuel Ortiz committed Sep 25, 2013
1 parent 2604253 commit 180106b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/nfc/digital_technology.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg,
dev_kfree_skb(resp);
}

int digital_tg_send_sensf_res(struct nfc_digital_dev *ddev,
static int digital_tg_send_sensf_res(struct nfc_digital_dev *ddev,
struct digital_sensf_req *sensf_req)
{
struct sk_buff *skb;
Expand Down

0 comments on commit 180106b

Please sign in to comment.