usb/ehci: Guard definition of EHCI_DEBUG
Guard against re-definition of EHCI_DEBUG. Allows for turning on of debug info from configure (using --qemu-extra-cflags="-DEHCI_DEBUG=1") rather than source code hacking. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
5010d4dc61
commit
569c7fc840
@ -36,7 +36,9 @@
|
||||
#include "dma.h"
|
||||
#include "sysemu.h"
|
||||
|
||||
#ifndef EHCI_DEBUG
|
||||
#define EHCI_DEBUG 0
|
||||
#endif
|
||||
|
||||
#if EHCI_DEBUG
|
||||
#define DPRINTF printf
|
||||
|
Loading…
Reference in New Issue
Block a user