OSDN Git Service

hw/intc/bcm2836_control: Use IRQ definitions instead of magic numbers
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 17 Oct 2020 18:07:31 +0000 (20:07 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Oct 2020 15:12:00 +0000 (16:12 +0100)
commite7534f29b1587527613fdce3e460ac4720e5d18b
treeb195816b524e8efd8f6c77ebf97e7d356bb3b118
parentb68a92f4cb16115025f41bc59e1b2f182a610370
hw/intc/bcm2836_control: Use IRQ definitions instead of magic numbers

The IRQ values are defined few lines earlier, use them instead of
the magic numbers.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20201017180731.1165871-3-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/bcm2836_control.c