hw/ide: Declare ide_get_[geometry/bios_chs_trans] in 'hw/ide/internal.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Feb 2023 22:33:35 +0000 (23:33 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commit066282672ba3d26aa7603e43559c658bf19b1043
tree348c9fba07b8c4fbe61e1af06968470ccc289feb
parent2c50207f0d74132f033d967db6436c89e63ade02
hw/ide: Declare ide_get_[geometry/bios_chs_trans] in 'hw/ide/internal.h'

ide_get_geometry() and ide_get_bios_chs_trans() are only
used by the TYPE_PC_MACHINE.
"hw/ide.h" is a mixed bag of lost IDE declarations. In order
to remove this (almost) pointless header soon, move these
declarations to "hw/ide/internal.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230220091358.17038-18-philmd@linaro.org>
hw/i386/pc.c
include/hw/ide.h
include/hw/ide/internal.h