File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
drivers/crypto/qat/qat_common Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,6 @@ void adf_disable_aer(struct adf_accel_dev *accel_dev);
144144void adf_dev_restore (struct adf_accel_dev * accel_dev );
145145int adf_init_aer (void );
146146void adf_exit_aer (void );
147- int adf_init_pf_wq (void );
148- void adf_exit_pf_wq (void );
149147int adf_init_admin_comms (struct adf_accel_dev * accel_dev );
150148void adf_exit_admin_comms (struct adf_accel_dev * accel_dev );
151149int adf_send_admin_init (struct adf_accel_dev * accel_dev );
@@ -238,6 +236,8 @@ void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
238236 uint32_t vf_mask );
239237void adf_enable_pf2vf_interrupts (struct adf_accel_dev * accel_dev );
240238void adf_disable_pf2vf_interrupts (struct adf_accel_dev * accel_dev );
239+ int adf_init_pf_wq (void );
240+ void adf_exit_pf_wq (void );
241241#else
242242static inline int adf_sriov_configure (struct pci_dev * pdev , int numvfs )
243243{
@@ -255,5 +255,14 @@ static inline void adf_enable_pf2vf_interrupts(struct adf_accel_dev *accel_dev)
255255static inline void adf_disable_pf2vf_interrupts (struct adf_accel_dev * accel_dev )
256256{
257257}
258+
259+ static inline int adf_init_pf_wq (void )
260+ {
261+ return 0 ;
262+ }
263+
264+ static inline void adf_exit_pf_wq (void )
265+ {
266+ }
258267#endif
259268#endif
You can’t perform that action at this time.
0 commit comments