Skip to content

Commit c2f61b8

Browse files
Hans ZhangMani-Sadhasivam
authored andcommitted
PCI: dw-rockchip: Remove unused PCIE_CLIENT_GENERAL_DEBUG definition
The PCIE_CLIENT_GENERAL_DEBUG register offset is defined but never used in the driver. It's presence adds noise to the register map. Remove this unused definition to keep the register list minimal and aligned with actual hardware usage. Signed-off-by: Hans Zhang <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent d4a5d7e commit c2f61b8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/pci/controller/dwc/pcie-dw-rockchip.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#define PCIE_CLIENT_GENERAL_CONTROL 0x0
4848
#define PCIE_CLIENT_INTR_STATUS_LEGACY 0x8
4949
#define PCIE_CLIENT_INTR_MASK_LEGACY 0x1c
50-
#define PCIE_CLIENT_GENERAL_DEBUG 0x104
5150
#define PCIE_CLIENT_HOT_RESET_CTRL 0x180
5251
#define PCIE_CLIENT_LTSSM_STATUS 0x300
5352
#define PCIE_LTSSM_ENABLE_ENHANCE BIT(4)

0 commit comments

Comments
 (0)