Skip to content

Commit 9a38993

Browse files
mgurtovoyAlex Williamson
authored andcommitted
vfio/pci: Rename vfio_pci_private.h to vfio_pci_core.h
This is a preparation patch for separating the vfio_pci driver to a subsystem driver and a generic pci driver. This patch doesn't change any logic. Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20210826103912.128972-3-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1 parent 1cbd70f commit 9a38993

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

drivers/vfio/pci/vfio_pci_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <linux/vfio.h>
2727
#include <linux/slab.h>
2828

29-
#include "vfio_pci_private.h"
29+
#include "vfio_pci_core.h"
3030

3131
/* Fake capability ID for standard config space */
3232
#define PCI_CAP_ID_BASIC 0

drivers/vfio/pci/vfio_pci_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <linux/nospec.h>
2929
#include <linux/sched/mm.h>
3030

31-
#include "vfio_pci_private.h"
31+
#include "vfio_pci_core.h"
3232

3333
#define DRIVER_VERSION "0.2"
3434
#define DRIVER_AUTHOR "Alex Williamson <alex.williamson@redhat.com>"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include <linux/uuid.h>
1616
#include <linux/notifier.h>
1717

18-
#ifndef VFIO_PCI_PRIVATE_H
19-
#define VFIO_PCI_PRIVATE_H
18+
#ifndef VFIO_PCI_CORE_H
19+
#define VFIO_PCI_CORE_H
2020

2121
#define VFIO_PCI_OFFSET_SHIFT 40
2222

@@ -205,4 +205,4 @@ static inline int vfio_pci_info_zdev_add_caps(struct vfio_pci_device *vdev,
205205
}
206206
#endif
207207

208-
#endif /* VFIO_PCI_PRIVATE_H */
208+
#endif /* VFIO_PCI_CORE_H */

drivers/vfio/pci/vfio_pci_igd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <linux/uaccess.h>
1616
#include <linux/vfio.h>
1717

18-
#include "vfio_pci_private.h"
18+
#include "vfio_pci_core.h"
1919

2020
#define OPREGION_SIGNATURE "IntelGraphicsMem"
2121
#define OPREGION_SIZE (8 * 1024)

drivers/vfio/pci/vfio_pci_intrs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <linux/wait.h>
2121
#include <linux/slab.h>
2222

23-
#include "vfio_pci_private.h"
23+
#include "vfio_pci_core.h"
2424

2525
/*
2626
* INTx

drivers/vfio/pci/vfio_pci_rdwr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <linux/vfio.h>
1818
#include <linux/vgaarb.h>
1919

20-
#include "vfio_pci_private.h"
20+
#include "vfio_pci_core.h"
2121

2222
#ifdef __LITTLE_ENDIAN
2323
#define vfio_ioread64 ioread64

drivers/vfio/pci/vfio_pci_zdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <asm/pci_clp.h>
2020
#include <asm/pci_io.h>
2121

22-
#include "vfio_pci_private.h"
22+
#include "vfio_pci_core.h"
2323

2424
/*
2525
* Add the Base PCI Function information to the device info region.

0 commit comments

Comments
 (0)