hw/pci-bridge: add macro for "chassis_nr" property
commit3cf0ecb3c4f9bb6a7a58a62c0209509b4c9d13c6
authorLaszlo Ersek <lersek@redhat.com>
Fri, 19 Jun 2015 02:40:10 +0000 (19 04:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Jun 2015 20:57:47 +0000 (23 22:57 +0200)
tree35afe71a027e7ef2def22ba314a5d5e84a2d6170
parent0034e56209c1333bfca53356ce82663d801a15c5
hw/pci-bridge: add macro for "chassis_nr" property

This should help catch property name typos at compile time.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/pci_bridge_dev.c
hw/pci-bridge/pci_expander_bridge.c
include/hw/pci/pci_bridge.h