mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
vfio: make vfio_address_spaces static
It is not used outside hw/vfio/common.c, so it does not need to be extern. Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
70537ed515
commit
10ca76b4d2
2 changed files with 1 additions and 2 deletions
|
@ -181,7 +181,6 @@ int vfio_get_device(VFIOGroup *group, const char *name,
|
|||
|
||||
extern const MemoryRegionOps vfio_region_ops;
|
||||
extern QLIST_HEAD(vfio_group_head, VFIOGroup) vfio_group_list;
|
||||
extern QLIST_HEAD(vfio_as_head, VFIOAddressSpace) vfio_address_spaces;
|
||||
|
||||
#ifdef CONFIG_LINUX
|
||||
int vfio_get_region_info(VFIODevice *vbasedev, int index,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue