mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
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> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
4463523bef
commit
7d777c3d95
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user