ice1712: fix debug build

This commit is contained in:
Jérôme Duval
2015-03-28 09:41:39 +01:00
parent 83d05088a3
commit d789b5e208
2 changed files with 12 additions and 4 deletions
@@ -26,4 +26,12 @@
# define ITRACE_VV(a...) (void)0
#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_
@@ -7,16 +7,16 @@
* Marcus Overhagen, [email protected]
* Jérôme Lévêque, [email protected]
*/
#ifndef _ICE1712_H_
#define _ICE1712_H_
#include <PCI.h>
#include <KernelExport.h>
#include "debug.h"
#include "hmulti_audio.h"
#include <PCI.h>
#include <KernelExport.h>
#define DRIVER_NAME "ice1712"
#define VERSION "0.6"