diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-04-20 09:43:36 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-22 12:54:20 +0530 |
commit | 63c14ae6c161dec8ff3be49277edc75a769e054a (patch) | |
tree | 87346a41b75b09beab9a7c070d8112d29a030b62 /drivers/dma/idxd/idxd.h | |
parent | b21fe492a3a9831c315eb456cf5480c9490eaeef (diff) | |
download | lwn-63c14ae6c161dec8ff3be49277edc75a769e054a.tar.gz lwn-63c14ae6c161dec8ff3be49277edc75a769e054a.zip |
dmaengine: idxd: refactor wq driver enable/disable operations
Move the core driver operations from wq driver to the drv_enable_wq() and
drv_disable_wq() functions. The move should reduce the wq driver's
knowledge of the core driver operations and prevent code confusion for
future wq drivers.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/165047301643.3841827.11222723219862233060.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/idxd.h')
-rw-r--r-- | drivers/dma/idxd/idxd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index da72eb15f610..8e03fb548d13 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -559,9 +559,7 @@ void idxd_unregister_idxd_drv(void); int idxd_device_drv_probe(struct idxd_dev *idxd_dev); void idxd_device_drv_remove(struct idxd_dev *idxd_dev); int drv_enable_wq(struct idxd_wq *wq); -int __drv_enable_wq(struct idxd_wq *wq); void drv_disable_wq(struct idxd_wq *wq); -void __drv_disable_wq(struct idxd_wq *wq); int idxd_device_init_reset(struct idxd_device *idxd); int idxd_device_enable(struct idxd_device *idxd); int idxd_device_disable(struct idxd_device *idxd); |