]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: dwc: Use common mode field in struct dw_pcie
authorHans Zhang <18255117159@163.com>
Fri, 1 May 2026 16:10:09 +0000 (00:10 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Fri, 15 May 2026 17:13:04 +0000 (22:43 +0530)
commita8bf471f87f4c5c180641a2c6f7d82b1aa0f61fd
tree3a541a40f2d545837ddb19d760cbd0de1f2b40cb
parent5d47f6aeffdf55524fb1130666057266a741e97e
PCI: dwc: Use common mode field in struct dw_pcie

Remove the redundant mode field from struct dw_plat_pcie and use the
existing mode field in struct dw_pcie instead.

This avoids duplication and prevents potential inconsistencies between
the two mode fields.

Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260501161010.71688-4-18255117159@163.com
drivers/pci/controller/dwc/pcie-designware-plat.c