audio/ac97: Fix DEBUG build
- Fix VERSION macro in auich.h / auvia.h, used for log_create() in debug.c. - Add string.h to debug.c for strlen(). Change-Id: Iff4878763f49fe5b7e317c47e96ebd79f90725c8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3629 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
111df1707b
commit
d271659f96
@ -64,7 +64,7 @@
|
||||
#define AMD_AMD8111_AC97_DEVICE_ID 0x764d
|
||||
#define AMD_AMD768_AC97_DEVICE_ID 0x7445
|
||||
|
||||
#define VERSION "Version alpha 1, Copyright (c) 2003 Jérôme Duval, compiled on " ## __DATE__ ## " " ## __TIME__
|
||||
#define VERSION "Version alpha 1, Copyright (c) 2003 Jérôme Duval, compiled on " __DATE__ " " __TIME__
|
||||
#define DRIVER_NAME "auich"
|
||||
#define FRIENDLY_NAME "Auich"
|
||||
#define AUTHOR "Jérôme Duval"
|
||||
|
@ -32,8 +32,9 @@
|
||||
|
||||
#include <KernelExport.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <directories.h>
|
||||
|
@ -59,7 +59,7 @@
|
||||
#define VIATECH_8233_AC97_REV_8235 0x50
|
||||
#define VIATECH_8233_AC97_REV_8237 0x60 //this is the 5.1 Card in the new Athlon64 boards
|
||||
|
||||
#define VERSION "Version alpha 2, Copyright (c) 2003 Jérôme Duval, compiled on " ## __DATE__ ## " " ## __TIME__
|
||||
#define VERSION "Version alpha 2, Copyright (c) 2003 Jérôme Duval, compiled on " __DATE__ " " __TIME__
|
||||
#define DRIVER_NAME "auvia"
|
||||
#define FRIENDLY_NAME "Auvia"
|
||||
#define FRIENDLY_NAME_686 FRIENDLY_NAME" 82C686"
|
||||
|
@ -32,8 +32,9 @@
|
||||
|
||||
#include <KernelExport.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <directories.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user