diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-13 05:38:58 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-02-20 20:34:21 +0300 |
commit | fe693e32c8136bba792a355617d2b0f5d1914721 (patch) | |
tree | 15b124d0ac8ceffae69846cea3d1f85a0d55a250 /scripts/qapi/parser.py | |
parent | 455177ffc457098b0103d2a09cb7ba5e260dfcdd (diff) | |
download | qemu-fe693e32c8136bba792a355617d2b0f5d1914721.zip qemu-fe693e32c8136bba792a355617d2b0f5d1914721.tar.gz qemu-fe693e32c8136bba792a355617d2b0f5d1914721.tar.bz2 |
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 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions