Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d777c3d authored by John W. Linville's avatar John W. Linville Committed by Samuel Ortiz
Browse files

NFC: Add dummy nfc_llc_shdlc_register definition



This is used when CONFIG_NFC_SHDLC is disabled.

Reported-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 4463523b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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_ */