hw/char/parallel: Move portio_list from ParallelState to ISAParallelState

ParallelState::portio_list isn't used inside ParallelState context but only
inside ISAParallelState context, so move it there.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20240114123911.4877-4-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Bernhard Beschow 2024-01-14 13:39:03 +01:00 committed by Michael S. Tsirkin
parent ff453ce281
commit ee3d1f1b46
3 changed files with 3 additions and 3 deletions

View file

@ -12,6 +12,7 @@
#include "parallel.h"
#include "exec/ioport.h"
#include "hw/isa/isa.h"
#include "qom/object.h"
@ -25,6 +26,7 @@ struct ISAParallelState {
uint32_t iobase;
uint32_t isairq;
ParallelState state;
PortioList portio_list;
};
#endif /* HW_PARALLEL_ISA_H */