summaryrefslogtreecommitdiff
path: root/drivers/misc/mic/card/mic_device.h
diff options
context:
space:
mode:
authorSudeep Dutt <sudeep.dutt@intel.com>2016-02-09 02:48:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-10 04:32:37 +0300
commitc74c9318a3a76c3714785bc06147dd207a9d0aa3 (patch)
tree56d278de4a1b07caa76d857131c4b6981a15959f /drivers/misc/mic/card/mic_device.h
parent8810df37762746657cfe84014a8f30758e8f366a (diff)
downloadlinux-c74c9318a3a76c3714785bc06147dd207a9d0aa3.tar.xz
misc: mic: MIC host and card driver changes to enable VOP
This patch modifies the MIC host and card drivers to start using the VOP driver. The MIC host and card drivers now implement the VOP bus operations and register a VOP device on the VOP bus. MIC driver stack documentation is also updated to include the new VOP driver. Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic/card/mic_device.h')
-rw-r--r--drivers/misc/mic/card/mic_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/mic/card/mic_device.h b/drivers/misc/mic/card/mic_device.h
index 1dbf83c41289..333dbed972f6 100644
--- a/drivers/misc/mic/card/mic_device.h
+++ b/drivers/misc/mic/card/mic_device.h
@@ -32,6 +32,7 @@
#include <linux/interrupt.h>
#include <linux/mic_bus.h>
#include "../bus/scif_bus.h"
+#include "../bus/vop_bus.h"
/**
* struct mic_intr_info - Contains h/w specific interrupt sources info
@@ -76,6 +77,7 @@ struct mic_device {
* @dma_ch - Array of DMA channels
* @num_dma_ch - Number of DMA channels available
* @scdev: SCIF device on the SCIF virtual bus.
+ * @vpdev: Virtio over PCIe device on the VOP virtual bus.
*/
struct mic_driver {
char name[20];
@@ -90,6 +92,7 @@ struct mic_driver {
struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN];
int num_dma_ch;
struct scif_hw_dev *scdev;
+ struct vop_device *vpdev;
};
/**