diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-07-15 11:43:15 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-07-21 09:59:21 +0530 |
commit | da5a11d75d6837c9c5ef40810f66ce9d2db6ca5e (patch) | |
tree | 28378eeafa6e339e4e933ae94e7c0f8d0d8cde8b /drivers/dma/idxd/idxd.h | |
parent | 3ecfc9135e6c82183d121c5578ed5d6f07a53ec8 (diff) | |
download | linux-stable-da5a11d75d6837c9c5ef40810f66ce9d2db6ca5e.tar.gz linux-stable-da5a11d75d6837c9c5ef40810f66ce9d2db6ca5e.tar.bz2 linux-stable-da5a11d75d6837c9c5ef40810f66ce9d2db6ca5e.zip |
dmaengine: idxd: add driver name
Add name field in idxd_device_driver so we don't have to touch the
'struct device_driver' during declaration.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162637459517.744545.7572915135318813722.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index 8db19b899709..e8721ff028c2 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -34,6 +34,7 @@ enum idxd_type { #define IDXD_PMU_EVENT_MAX 64 struct idxd_device_driver { + const char *name; struct device_driver drv; }; |