aboutsummaryrefslogtreecommitdiff
path: root/hw/pci_internals.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2011-01-27 15:56:39 +0900
committerMichael S. Tsirkin <mst@redhat.com>2011-03-28 18:34:22 +0200
commit6f3279b5d1d39e658d29d20221f5a5de850b0c15 (patch)
treeee9d9d4884bd4a34f1186756f6c10001d9526a57 /hw/pci_internals.h
parent6ff534b678e26450ad6e2ad850b70c9db0e92139 (diff)
pci: use uint8_t for devfn_min
use uint8_t for devfn_min instead of int. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci_internals.h')
-rw-r--r--hw/pci_internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci_internals.h b/hw/pci_internals.h
index efaefcded8..fbe1866808 100644
--- a/hw/pci_internals.h
+++ b/hw/pci_internals.h
@@ -16,7 +16,7 @@ extern struct BusInfo pci_bus_info;
struct PCIBus {
BusState qbus;
- int devfn_min;
+ uint8_t devfn_min;
pci_set_irq_fn set_irq;
pci_map_irq_fn map_irq;
pci_hotplug_fn hotplug;