Revert "hw/pci: Rename has_power to enabled"

This reverts commit 6a31b219a5.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2024-08-01 03:44:50 -04:00
parent f1feffc4ef
commit 93829009a6
4 changed files with 11 additions and 16 deletions

View file

@ -678,11 +678,6 @@ static inline void pci_irq_pulse(PCIDevice *pci_dev)
}
MSIMessage pci_get_msi_message(PCIDevice *dev, int vector);
void pci_set_enabled(PCIDevice *pci_dev, bool state);
static inline void pci_set_power(PCIDevice *pci_dev, bool state)
{
pci_set_enabled(pci_dev, state);
}
void pci_set_power(PCIDevice *pci_dev, bool state);
#endif