hda: Fix build with DEBUG enabled.

We need the kernel debug macros defined so that hmulti_audio doesn't
try to use the userland ones.
This commit is contained in:
Augustin Cavalier
2024-09-17 18:50:09 -04:00
parent 89235ee967
commit a706a92d65
2 changed files with 2 additions and 5 deletions
@@ -12,6 +12,7 @@
#include <KernelExport.h>
#include <Drivers.h>
#include <PCI.h>
#include <debug.h>
#include <string.h>
#include <stdlib.h>
@@ -10,16 +10,11 @@
#include <driver_settings.h>
#include "hmulti_audio.h"
#include "driver.h"
#include <kernel.h>
#ifdef TRACE
# undef TRACE
#endif
//#define TRACE_MULTI_AUDIO
#ifdef TRACE_MULTI_AUDIO
# define TRACE(a...) dprintf("hda: " a)
@@ -28,6 +23,7 @@
#endif
#define ERROR(a...) dprintf("hda: " a)
typedef enum {
B_MIX_GAIN = 1 << 0,
B_MIX_MUTE = 1 << 1,