From aa5e2a4a5a97e952dab2486d62ac35ada1d5eaff Mon Sep 17 00:00:00 2001 From: coypu Date: Sat, 17 Sep 2016 08:39:25 +0300 Subject: [PATCH 22/27] squash want OS_REG_WRITE_BUFFER_{DISABLE,ENABLE,FLUSH} to want __DECONST... --- sys/external/isc/atheros_hal/ic/ah_osdep.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/external/isc/atheros_hal/ic/ah_osdep.h b/sys/external/isc/atheros_hal/ic/ah_osdep.h index ff4c8fc..5a9c233 100644 --- a/sys/external/isc/atheros_hal/ic/ah_osdep.h +++ b/sys/external/isc/atheros_hal/ic/ah_osdep.h @@ -156,6 +156,11 @@ typedef uint32_t HAL_DMA_ADDR; */ #define OS_REG_WRITE_BUFFER_ENABLE(_ah) \ do { } while (0) +#define OS_REG_WRITE_BUFFER_DISABLE(_ah) \ + do { } while (0) +#define OS_REG_WRITE_BUFFER_FLUSH(_ah) \ + do { } while (0) + #ifndef __DECONST #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) -- 2.9.3