mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacmn: Compile out WMI logging feature
Fix to compile cleanly when WMI_INTERFACE_EVENT_LOGGING feature is disabled. Change-Id: I1c7d687e685b8b2dcdb35667c425afc3d09c73da CRs-Fixed: 2192125
This commit is contained in:
parent
8ede0d39ac
commit
c50c2280ff
1 changed files with 4 additions and 4 deletions
|
|
@ -90,6 +90,9 @@ typedef PREPACK struct {
|
|||
/* end of copy wmi.h */
|
||||
#endif /* CONFIG_WIN */
|
||||
|
||||
#define WMI_MIN_HEAD_ROOM 64
|
||||
|
||||
#ifdef WMI_INTERFACE_EVENT_LOGGING
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0))
|
||||
/* TODO Cleanup this backported function */
|
||||
static int wmi_bp_seq_printf(struct seq_file *m, const char *f, ...)
|
||||
|
|
@ -106,9 +109,6 @@ static int wmi_bp_seq_printf(struct seq_file *m, const char *f, ...)
|
|||
#define wmi_bp_seq_printf(m, fmt, ...) seq_printf((m), fmt, ##__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#define WMI_MIN_HEAD_ROOM 64
|
||||
|
||||
#ifdef WMI_INTERFACE_EVENT_LOGGING
|
||||
#ifndef MAX_WMI_INSTANCES
|
||||
#ifdef CONFIG_MCL
|
||||
#define MAX_WMI_INSTANCES 1
|
||||
|
|
@ -2026,7 +2026,7 @@ static inline void wmi_interface_logging_init(struct wmi_unified *wmi_handle)
|
|||
}
|
||||
}
|
||||
#else
|
||||
void wmi_interface_logging_init(struct wmi_unified *wmi_handle)
|
||||
static inline void wmi_interface_logging_init(struct wmi_unified *wmi_handle)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue