aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vfio/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vfio/pci')
-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 b84bf2210a91..c4429418124e 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)
286 * a signal is necessary, which can then be handled via a work queue 286 * a signal is necessary, which can then be handled via a work queue
287 * or directly depending on the caller. 287 * or directly depending on the caller.
288 */ 288 */
289int vfio_pci_intx_unmask_handler(struct vfio_pci_device *vdev, void *unused) 289static int vfio_pci_intx_unmask_handler(struct vfio_pci_device *vdev,
290 void *unused)
290{ 291{
291 struct pci_dev *pdev = vdev->pdev; 292 struct pci_dev *pdev = vdev->pdev;
292 unsigned long flags; 293 unsigned long flags;