提交 8a14e8bf 编写于 作者: J John W. Linville

nfc: add dummy nfc_llc_shdlc_register definition

This is used when CONFIG_NFC_SHDLC is disabled.
Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 944f8a1a
...@@ -56,6 +56,14 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops); ...@@ -56,6 +56,14 @@ int nfc_llc_register(const char *name, struct nfc_llc_ops *ops);
void nfc_llc_unregister(const char *name); void nfc_llc_unregister(const char *name);
int nfc_llc_nop_register(void); int nfc_llc_nop_register(void);
#if defined(CONFIG_NFC_SHDLC)
int nfc_llc_shdlc_register(void); int nfc_llc_shdlc_register(void);
#else
static inline int nfc_llc_shdlc_register(void)
{
return 0;
}
#endif
#endif /* __LOCAL_LLC_H_ */ #endif /* __LOCAL_LLC_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册