vfio/spapr_tce: Make symbol 'tce_iommu_driver_ops' static
authorWang Hai <wanghai26@huawei.com>
Wed, 3 Apr 2019 18:36:21 +0000 (12:36 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 3 Apr 2019 18:42:02 +0000 (12:42 -0600)
commite39dd513d5f2ae2041c593d42fd0d8b24e7e950b
tree19a6659473b492fd51e6f29397cbb191df1fdbc4
parent426b046b748d1f47e096e05bdcc6fb4172791307
vfio/spapr_tce: Make symbol 'tce_iommu_driver_ops' static

Fixes the following sparse warning:

drivers/vfio/vfio_iommu_spapr_tce.c:1401:36: warning:
 symbol 'tce_iommu_driver_ops' was not declared. Should it be static?

Fixes: 5ffd229c0273 ("powerpc/vfio: Implement IOMMU driver for VFIO")
Signed-off-by: Wang Hai <wanghai26@huawei.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_spapr_tce.c