summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-03-25 11:15:44 -0600
committerAlex Williamson <alex.williamson@redhat.com>2013-03-25 11:15:44 -0600
commit0bced2f7280cd12b66229ba55d05c62a4eef6cfd (patch)
tree0df7cde914a4da3d0d2590709c02188c945abce1 /drivers/vfio
parentdad9f8972e04cd081a028d8fb1249d746d97fc03 (diff)
downloadop-kernel-dev-0bced2f7280cd12b66229ba55d05c62a4eef6cfd.zip
op-kernel-dev-0bced2f7280cd12b66229ba55d05c62a4eef6cfd.tar.gz
vfio: make local function vfio_pci_intx_unmask_handler() static
vfio_pci_intx_unmask_handler() was not declared. It should be static. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/pci/vfio_pci_intrs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci_intrs.c b/drivers/vfio/pci/vfio_pci_intrs.c
index b84bf22..c442941 100644
--- a/drivers/vfio/pci/vfio_pci_intrs.c
+++ b/drivers/vfio/pci/vfio_pci_intrs.c
@@ -286,7 +286,8 @@ void vfio_pci_intx_mask(struct vfio_pci_device *vdev)
* a signal is necessary, which can then be handled via a work queue
* or directly depending on the caller.
*/
-int vfio_pci_intx_unmask_handler(struct vfio_pci_device *vdev, void *unused)
+static int vfio_pci_intx_unmask_handler(struct vfio_pci_device *vdev,
+ void *unused)
{
struct pci_dev *pdev = vdev->pdev;
unsigned long flags;
OpenPOWER on IntegriCloud