aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/vfio/vfio_spapr_eeh.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/vfio/vfio_spapr_eeh.c b/drivers/vfio/vfio_spapr_eeh.c
index 949f98e997af..4779cace8036 100644
--- a/drivers/vfio/vfio_spapr_eeh.c
+++ b/drivers/vfio/vfio_spapr_eeh.c
@@ -9,10 +9,15 @@
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10 */ 10 */
11 11
12#include <linux/module.h>
12#include <linux/uaccess.h> 13#include <linux/uaccess.h>
13#include <linux/vfio.h> 14#include <linux/vfio.h>
14#include <asm/eeh.h> 15#include <asm/eeh.h>
15 16
17#define DRIVER_VERSION "0.1"
18#define DRIVER_AUTHOR "Gavin Shan, IBM Corporation"
19#define DRIVER_DESC "VFIO IOMMU SPAPR EEH"
20
16/* We might build address mapping here for "fast" path later */ 21/* We might build address mapping here for "fast" path later */
17int vfio_spapr_pci_eeh_open(struct pci_dev *pdev) 22int vfio_spapr_pci_eeh_open(struct pci_dev *pdev)
18{ 23{
@@ -88,3 +93,8 @@ long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group,
88 return ret; 93 return ret;
89} 94}
90EXPORT_SYMBOL(vfio_spapr_iommu_eeh_ioctl); 95EXPORT_SYMBOL(vfio_spapr_iommu_eeh_ioctl);
96
97MODULE_VERSION(DRIVER_VERSION);
98MODULE_LICENSE("GPL v2");
99MODULE_AUTHOR(DRIVER_AUTHOR);
100MODULE_DESCRIPTION(DRIVER_DESC);