Skip to content

Commit

Permalink
NFC: Add dummy nfc_llc_shdlc_register definition
Browse files Browse the repository at this point in the history
This is used when CONFIG_NFC_SHDLC is disabled.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
John W. Linville authored and Samuel Ortiz committed Sep 27, 2012
1 parent 4463523 commit 7d777c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions net/nfc/hci/llc.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops);
void nfc_llc_unregister(const char *name);

int nfc_llc_nop_register(void);

#if defined(CONFIG_NFC_SHDLC)
int nfc_llc_shdlc_register(void);
#else
static inline int nfc_llc_shdlc_register(void)
{
return 0;
}
#endif

#endif /* __LOCAL_LLC_H_ */

0 comments on commit 7d777c3

Please sign in to comment.