ice1712: fix debug build
This commit is contained in:
@@ -26,4 +26,12 @@
|
|||||||
# define ITRACE_VV(a...) (void)0
|
# define ITRACE_VV(a...) (void)0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef ASSERT
|
||||||
|
#if DEBUG > 0
|
||||||
|
#define ASSERT(a) if (a) {} else \
|
||||||
|
dprintf("ASSERT failed! file = %s, line = %d\n",__FILE__,__LINE__)
|
||||||
|
#else
|
||||||
|
#define ASSERT(a) ((void)(0))
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // _DEBUG_ICE1712_H_
|
#endif // _DEBUG_ICE1712_H_
|
||||||
|
|||||||
@@ -7,16 +7,16 @@
|
|||||||
* Marcus Overhagen, [email protected]
|
* Marcus Overhagen, [email protected]
|
||||||
* Jérôme Lévêque, [email protected]
|
* Jérôme Lévêque, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef _ICE1712_H_
|
#ifndef _ICE1712_H_
|
||||||
#define _ICE1712_H_
|
#define _ICE1712_H_
|
||||||
|
|
||||||
|
|
||||||
|
#include <PCI.h>
|
||||||
|
#include <KernelExport.h>
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "hmulti_audio.h"
|
#include "hmulti_audio.h"
|
||||||
|
|
||||||
#include <PCI.h>
|
|
||||||
#include <KernelExport.h>
|
|
||||||
|
|
||||||
#define DRIVER_NAME "ice1712"
|
#define DRIVER_NAME "ice1712"
|
||||||
#define VERSION "0.6"
|
#define VERSION "0.6"
|
||||||
|
|||||||
Reference in New Issue
Block a user