usb/ehci: Guard definition of EHCI_DEBUG
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 29 Oct 2012 01:34:39 +0000 (11:34 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 12:10:10 +0000 (13:10 +0100)
commit569c7fc8400ea3a7b13589af889003208aaae2ed
treed96f3cc0ad285c75e42e533495eeb6dcd0b44669
parent5010d4dc618b6b8e7c21129c487c06f6493f71fc
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>
hw/usb/hcd-ehci.c