diff options
author | joseph daniel <josephdanielwalter@gmail.com> | 2012-05-07 10:31:23 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-15 21:30:29 (GMT) |
commit | 51c25be857156493247d17c371d01735dc9b8658 (patch) | |
tree | 3f883d4c18e989e604e2563873dae29248547b69 /net/nfc/af_nfc.c | |
parent | 43472fffb4628773397297f7e365983accd4a0ef (diff) | |
download | linux-fsl-qoriq-51c25be857156493247d17c371d01735dc9b8658.tar.xz |
NFC: Fix LLCP compilation warning
nfc_llcp_general_bytes is defined in nfc/core.c as:
nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *gb_len).
as in nfc/nfc.h:
nfc_llcp_general_bytes(struct nfc_dev *dev, u8 *gb_len), if CONFIG_NFC_LLCP
is not defined.
so we got some warnings,
net/nfc/core.c:207:2: warning: passing argument 2 of ‘nfc_llcp_general_bytes’ from incompatible pointer type [enabled by default]
net/nfc/nfc.h:87:19: note: expected ‘u8 *’ but argument is of type ‘size_t *’
Signed-off-by: joseph daniel <josephdanielwalter@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/af_nfc.c')
0 files changed, 0 insertions, 0 deletions