mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/misc/pca9552: Add a 'description' property for debugging purpose
Add a description field to distinguish between multiple devices. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Cédric Le Goater <clg@kaod.org> Message-id: 20200623072723.6324-6-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
736132e455
commit
2df252d879
2 changed files with 19 additions and 0 deletions
|
@ -27,6 +27,7 @@ typedef struct PCA955xState {
|
|||
uint8_t pointer;
|
||||
|
||||
uint8_t regs[PCA955X_NR_REGS];
|
||||
char *description; /* For debugging purpose only */
|
||||
} PCA955xState;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue