Add Win Driver Compilation Error Fixes Change-Id: I362d05937ab5868c7957b573376317322495d5c4 CRs-Fixed: 1012511
@@ -330,6 +330,11 @@ void __printf(3, 4) qdf_snprintf(char *str_buffer, unsigned int size,
char *str_format, ...);
#define QDF_SNPRINTF qdf_snprintf
+#else
+
+#define DPTRACE(x)
+#define qdf_trace_hex_dump(x, y, z, q)
#endif /* CONFIG_MCL */
#endif /* __QDF_TRACE_H */
@@ -272,7 +272,6 @@ typedef enum {
QDF_MODULE_ID_MAX
} QDF_MODULE_ID;
-#ifdef CONFIG_MCL
/**
* enum tQDF_ADAPTER_MODE - Concurrency role.
* @QDF_STA_MODE: STA mode
@@ -328,6 +327,7 @@ enum tQDF_GLOBAL_CON_MODE {
#define QDF_IS_EPPING_ENABLED(mode) (mode == QDF_GLOBAL_EPPING_MODE)
+#ifdef CONFIG_MCL
#define qdf_print(args...) \
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ## args)
@@ -33,9 +33,9 @@
#ifdef CONFIG_MCL
#include <i_host_diag_core_event.h>
#include <ani_global.h>
+#include <hif.h>
#endif
#include <i_qdf_lock.h>
-#include <hif.h>
/* Function declarations and documenation */
typedef __qdf_mutex_t qdf_mutex_t;
@@ -970,3 +970,4 @@ void qdf_mem_dma_sync_single_for_cpu(qdf_device_t osdev,
{
dma_sync_single_for_cpu(osdev->dev, bus_addr, size, direction);
}
+EXPORT_SYMBOL(qdf_mem_dma_sync_single_for_cpu);