Constification

This commit is contained in:
Jasmine Iwanek
2023-07-20 18:58:26 -04:00
parent db66543959
commit 998cfe5cc8
163 changed files with 1086 additions and 1071 deletions

View File

@@ -143,7 +143,7 @@ pic_elcr_write(uint16_t port, uint8_t val, void *priv)
uint8_t
pic_elcr_read(UNUSED(uint16_t port), void *priv)
{
pic_t *dev = (pic_t *) priv;
const pic_t *dev = (pic_t *) priv;
pic_log("ELCR%i: READ %02X\n", port & 1, dev->elcr);