NFC: Fix LLC registration definitions for ANSI compliance
authorEric Lapuyade <eric.lapuyade@linux.intel.com>
Tue, 18 Sep 2012 17:24:37 +0000 (19:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Sep 2012 22:17:26 +0000 (00:17 +0200)
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/hci/llc_nop.c
net/nfc/hci/llc_shdlc.c

index d91dd66a082dd1103ad72edb86a4e125c620dca4..87b10291b40f4d8b003ae5443d96c9a78d321790 100644 (file)
@@ -93,7 +93,7 @@ static struct nfc_llc_ops llc_nop_ops = {
        .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);
 }
index 3761c7490a61f100cd6b3a440125dd3821a79580..d54bfc51c693fc7b4431c13378ce0ddec078b0da 100644 (file)
@@ -826,7 +826,7 @@ static struct nfc_llc_ops llc_shdlc_ops = {
        .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);
 }