diff --git a/include/nuttx/audio/wm8904.h b/include/nuttx/audio/wm8904.h index 2b46b74579..9c25fd4ad6 100644 --- a/include/nuttx/audio/wm8904.h +++ b/include/nuttx/audio/wm8904.h @@ -238,7 +238,11 @@ FAR struct audio_lowerhalf_s * void wm8904_dump_registers(FAR struct audio_lowerhalf_s *dev, FAR const char *msg); #else -# define wm8904_dump_registers(d) + /* This eliminates the need for any conditional compilation in the + * including file. + */ + +# define wm8904_dump_registers(d,m) #endif #undef EXTERN