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

@@ -1195,8 +1195,8 @@ pci_register_bus_slot(int bus, int card, int type, int inta, int intb, int intc,
uint8_t
pci_find_slot(uint8_t add_type, uint8_t ignore_slot)
{
pci_card_t *dev;
uint8_t ret = 0xff;
const pci_card_t *dev;
uint8_t ret = 0xff;
for (uint8_t i = 0; i < last_pci_card; i++) {
dev = &pci_cards[i];