qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] Do not include hw/hw.h if it is not necessary


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2] Do not include hw/hw.h if it is not necessary
Date: Thu, 16 Feb 2023 16:18:55 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 16/2/23 15:29, Thomas Huth wrote:
hw.h only contains the protoype of one function nowadays, hw_error(),
so all files that do not use this function anymore also do not need
to include this header anymore.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
  v2:
  - Add .c files, too (thanks to Philippe for the hint)
  - Changed the subject of the patch (was: "Do not include hw.h from headers")

  include/hw/ssi/ibex_spi_host.h          | 1 -
  include/hw/tricore/tricore_testdevice.h | 1 -
  hw/pci-host/mv64361.c                   | 1 -
  hw/ppc/pegasos2.c                       | 1 -
  hw/sensor/dps310.c                      | 1 -
  5 files changed, 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]