pci/shpc: pass PCIDevice pointer to shpc_slot_command()
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Thu, 16 Feb 2023 18:03:43 +0000 (21:03 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2023 08:10:48 +0000 (03:10 -0500)
commit0adc05f480d7b8b3fe849345279beaee05df9b2d
tree8adf222909b00e63856f3e8763e4e67b25da4d3a
parentdedf052a254187c333b7d1c9b8c95a0c325e6a18
pci/shpc: pass PCIDevice pointer to shpc_slot_command()

We'll need it in further patch to report bridge in QAPI event.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Anton Kuchin <antonkuchin@yandex-team.ru>
Message-Id: <20230216180356.156832-6-vsementsov@yandex-team.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/shpc.c