Re: [PATCH 20/20] hw/block: Make PFlashCFI02 QOM declaration internal

2023-01-08 Thread Bin Meng
On Thu, Jan 5, 2023 at 6:50 AM Philippe Mathieu-Daudé wrote: > > Convert the QOM PFlashCFI02 to a forward/opaque pointer declaration. > Only pflash_cfi02.c is able to poke at the internal fields. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/block/pflash_cfi02.c | 2 ++ >

[PATCH 20/20] hw/block: Make PFlashCFI02 QOM declaration internal

2023-01-04 Thread Philippe Mathieu-Daudé
Convert the QOM PFlashCFI02 to a forward/opaque pointer declaration. Only pflash_cfi02.c is able to poke at the internal fields. Signed-off-by: Philippe Mathieu-Daudé --- hw/block/pflash_cfi02.c | 2 ++ include/hw/block/flash.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git