Commit a7d0281b authored by Eric Lapuyade's avatar Eric Lapuyade Committed by Samuel Ortiz

NFC: Fix LLC registration definitions for ANSI compliance

Signed-off-by: default avatarEric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent c51ad34e
...@@ -93,7 +93,7 @@ static struct nfc_llc_ops llc_nop_ops = { ...@@ -93,7 +93,7 @@ static struct nfc_llc_ops llc_nop_ops = {
.xmit_from_hci = llc_nop_xmit_from_hci, .xmit_from_hci = llc_nop_xmit_from_hci,
}; };
int nfc_llc_nop_register() int nfc_llc_nop_register(void)
{ {
return nfc_llc_register(LLC_NOP_NAME, &llc_nop_ops); return nfc_llc_register(LLC_NOP_NAME, &llc_nop_ops);
} }
...@@ -826,7 +826,7 @@ static struct nfc_llc_ops llc_shdlc_ops = { ...@@ -826,7 +826,7 @@ static struct nfc_llc_ops llc_shdlc_ops = {
.xmit_from_hci = llc_shdlc_xmit_from_hci, .xmit_from_hci = llc_shdlc_xmit_from_hci,
}; };
int nfc_llc_shdlc_register() int nfc_llc_shdlc_register(void)
{ {
return nfc_llc_register(LLC_SHDLC_NAME, &llc_shdlc_ops); return nfc_llc_register(LLC_SHDLC_NAME, &llc_shdlc_ops);
} }
Markdown is supported
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