]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/crypto/qat/qat_common/adf_common_drv.h
crypto: qat - fix adf_ctl_drv.c:undefined reference to adf_init_pf_wq
[karo-tx-linux.git] / drivers / crypto / qat / qat_common / adf_common_drv.h
index 3f76bd495bcb5bca0a09ea4f80cf0b05edc10f82..aa1dbeaa9b49d64d12fc8efce86d8d51f274adf5 100644 (file)
@@ -227,6 +227,8 @@ void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
                                  uint32_t vf_mask);
 void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
                                 uint32_t vf_mask);
+int adf_init_pf_wq(void);
+void adf_exit_pf_wq(void);
 #else
 static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
 {
@@ -236,5 +238,14 @@ static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
 static inline void adf_disable_sriov(struct adf_accel_dev *accel_dev)
 {
 }
+
+static inline int adf_init_pf_wq(void)
+{
+       return 0;
+}
+
+static inline void adf_exit_pf_wq(void)
+{
+}
 #endif
 #endif