summary refs log tree commit diff stats
path: root/hw/usb/hcd-ehci.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-13 05:38:58 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2024-02-20 20:34:21 +0300
commitfe693e32c8136bba792a355617d2b0f5d1914721 (patch)
tree15b124d0ac8ceffae69846cea3d1f85a0d55a250 /hw/usb/hcd-ehci.c
parent455177ffc457098b0103d2a09cb7ba5e260dfcdd (diff)
downloadfocaccia-qemu-fe693e32c8136bba792a355617d2b0f5d1914721.tar.gz
focaccia-qemu-fe693e32c8136bba792a355617d2b0f5d1914721.zip
hw/usb/uhci: Rename NB_PORTS -> UHCI_PORTS
Rename NB_PORTS as UHCI_PORTS to avoid definition clash
with EHCI equivalent:

  hw/usb/hcd-uhci.h:38:9: error: 'NB_PORTS' macro redefined [-Werror,-Wmacro-redefined]
  #define NB_PORTS 2
          ^
  hw/usb/hcd-ehci.h:40:9: note: previous definition is here
  #define NB_PORTS         6        /* Max. Number of downstream ports */
          ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/usb/hcd-ehci.c')
0 files changed, 0 insertions, 0 deletions