hw: Do not include "exec/ioport.h" if it is not necessary
commit9c5900bce58a775e13cee6668a26c4d2cd4edfb1
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:08 +0000 (28 20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 12:15:10 +0000 (1 14:15 +0200)
tree412ce822524201cf74ec5996b7b16a38c966d933
parent23cecc2717cec380ba5898d48969f0a5432c1043
hw: Do not include "exec/ioport.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/ioport.h"' hw | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-11-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/acpi/pcihp.c
hw/acpi/piix4.c