Skip to content
Commit d7f4e58f authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Greg Kroah-Hartman
Browse files

dmaengine: ioat: use PCI core macros for PCIe Capability

[ Upstream commit 8f6707d0

 ]

The PCIe Capability is defined by the PCIe spec, so use the PCI_EXP_DEVCTL
macros defined by the PCI core instead of defining copies in IOAT.  This
makes it easier to find all uses of the PCIe Device Control register.  No
functional change intended.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230307214615.887354-1-helgaas@kernel.org
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: f0dc9fda

 ("dmaengine: ioatdma: Fix error path in ioat3_dma_probe()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 98d79caf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment