aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ide
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-09 23:35:21 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:02 +0100
commitcc135b10f4385d374fdbb4032618da8f5fd965a2 (patch)
tree12b6e982e71e3cade9d0e072563a1b59d9d6c03b /include/hw/ide
parent3b759fbf390dbfd86fe397a4f7dc5d4920d37091 (diff)
downloadqemu-cc135b10f4385d374fdbb4032618da8f5fd965a2.zip
qemu-cc135b10f4385d374fdbb4032618da8f5fd965a2.tar.gz
qemu-cc135b10f4385d374fdbb4032618da8f5fd965a2.tar.bz2
hw/ide/atapi: Restrict 'scsi/constants.h' inclusion
Only atapi.c requires the SCSI constants. No need to include it in all files including "hw/ide/internal.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230215112712.23110-7-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'include/hw/ide')
-rw-r--r--include/hw/ide/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/ide/internal.h b/include/hw/ide/internal.h
index fc0aa81..29a8e79 100644
--- a/include/hw/ide/internal.h
+++ b/include/hw/ide/internal.h
@@ -13,7 +13,6 @@
#include "hw/isa/isa.h"
#include "sysemu/dma.h"
#include "hw/block/block.h"
-#include "scsi/constants.h"
/* debug IDE devices */
#define USE_DMA_CDROM