aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2020-06-23 21:49:18 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2020-06-26 10:13:51 +0100
commitdcb091c40ef8c77590b1c5b7160ec428f2a2a053 (patch)
treee1759fba0cd608d8055e6b78a98bb5f55b9c3d97 /include
parentd9b898943dbcce7c513739febc05ccaa7142c49e (diff)
downloadqemu-dcb091c40ef8c77590b1c5b7160ec428f2a2a053.zip
qemu-dcb091c40ef8c77590b1c5b7160ec428f2a2a053.tar.gz
qemu-dcb091c40ef8c77590b1c5b7160ec428f2a2a053.tar.bz2
pmu: fix duplicate autopoll mask variable
It seems that during the initial work to introduce the via-pmu ADB support a duplicate autopoll mask variable was accidentally left in place. Remove the duplicate autopoll_mask variable and switch everything over to use adb_poll_mask instead. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Finn Thain <fthain@telegraphics.com.au> Acked-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200623204936.24064-5-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/macio/pmu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/misc/macio/pmu.h b/include/hw/misc/macio/pmu.h
index 7ef83de..4f34b6f 100644
--- a/include/hw/misc/macio/pmu.h
+++ b/include/hw/misc/macio/pmu.h
@@ -220,7 +220,6 @@ typedef struct PMUState {
ADBBusState adb_bus;
uint16_t adb_poll_mask;
uint8_t autopoll_rate_ms;
- uint8_t autopoll_mask;
QEMUTimer *adb_poll_timer;
uint8_t adb_reply_size;
uint8_t adb_reply[ADB_MAX_OUT_LEN];