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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user