esp: move TYPE_ESP and SysBusESPState from esp.c to esp.h
commit1b13a60c1c15d7d69164f6d89465915838ddc07b
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 14 Oct 2017 12:22:22 +0000 (14 13:22 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 31 Oct 2017 17:25:36 +0000 (31 17:25 +0000)
treec020569292156855b49d6245029f0fff9c3c15e8
parentf542ad03888ff0fad87db269186b79fe2ce1823b
esp: move TYPE_ESP and SysBusESPState from esp.c to esp.h

This enables them to be used outside of esp.c.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
CC: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/scsi/esp.c
include/hw/scsi/esp.h