diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-09-26 13:30:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-26 13:38:48 -0400 |
commit | 8a14e8bf386434732eed6678120fe52acee6244a (patch) | |
tree | c0e0baf77cd088a32e8504c5448f38090907e29c | |
parent | 944f8a1a6f5ff8b503f3544811d0aa4ac27dd2aa (diff) |
nfc: add dummy nfc_llc_shdlc_register definition
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>
-rw-r--r-- | net/nfc/hci/llc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/nfc/hci/llc.h b/net/nfc/hci/llc.h index c7014fdfc8c9..7be0b7f3ceb6 100644 --- a/net/nfc/hci/llc.h +++ b/net/nfc/hci/llc.h | |||
@@ -56,6 +56,14 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops); | |||
56 | void nfc_llc_unregister(const char *name); | 56 | void nfc_llc_unregister(const char *name); |
57 | 57 | ||
58 | int nfc_llc_nop_register(void); | 58 | int nfc_llc_nop_register(void); |
59 | |||
60 | #if defined(CONFIG_NFC_SHDLC) | ||
59 | int nfc_llc_shdlc_register(void); | 61 | int nfc_llc_shdlc_register(void); |
62 | #else | ||
63 | static inline int nfc_llc_shdlc_register(void) | ||
64 | { | ||
65 | return 0; | ||
66 | } | ||
67 | #endif | ||
60 | 68 | ||
61 | #endif /* __LOCAL_LLC_H_ */ | 69 | #endif /* __LOCAL_LLC_H_ */ |