diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-06-23 09:27:19 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-06-26 14:30:28 +0100 |
commit | 2df252d8793097386d4972640653da93f7857da1 (patch) | |
tree | 871414b5b493fd825e7b45cef9220428b00a495f /include/hw/misc | |
parent | 736132e455eea08e37fe21b4140b8088f2c0956b (diff) | |
download | qemu-2df252d8793097386d4972640653da93f7857da1.zip qemu-2df252d8793097386d4972640653da93f7857da1.tar.gz qemu-2df252d8793097386d4972640653da93f7857da1.tar.bz2 |
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>
Diffstat (limited to 'include/hw/misc')
-rw-r--r-- | include/hw/misc/pca9552.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/pca9552.h b/include/hw/misc/pca9552.h index 90843b0..bf1a589 100644 --- a/include/hw/misc/pca9552.h +++ b/include/hw/misc/pca9552.h @@ -27,6 +27,7 @@ typedef struct PCA955xState { uint8_t pointer; uint8_t regs[PCA955X_NR_REGS]; + char *description; /* For debugging purpose only */ } PCA955xState; #endif |