summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pcie-rcar.h
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@gmail.com>2023-01-13 09:45:16 +0100
committerLorenzo Pieralisi <lpieralisi@kernel.org>2023-03-10 13:34:27 +0100
commit727de4c0876836fdf59ec13c3121880fc939cc3e (patch)
treeecceebaa24a3360a92c74f3e93875567c6d37548 /drivers/pci/controller/pcie-rcar.h
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlwn-727de4c0876836fdf59ec13c3121880fc939cc3e.tar.gz
lwn-727de4c0876836fdf59ec13c3121880fc939cc3e.zip
PCI: rcar: Avoid defines prefixed with CONFIG
Defines prefixed with "CONFIG" should be limited to proper Kconfig options, that are introduced in a Kconfig file. In the R-car driver the bitmask to configure the SEND_ENABLE mode is named CONFIG_SEND_ENABLE. Rename this local definition to a more suitable name, containing the register bitfield name defined in the R-Car Gen3 rev. 2.30 user manual. No functional change. Link: https://lore.kernel.org/r/20230113084516.31888-1-lukas.bulwahn@gmail.com Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> [lpieralisi@kernel.org: Changed define naming and commit log] Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pci/controller/pcie-rcar.h')
-rw-r--r--drivers/pci/controller/pcie-rcar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pcie-rcar.h b/drivers/pci/controller/pcie-rcar.h
index 9bb125db85c6..6799f81392fc 100644
--- a/drivers/pci/controller/pcie-rcar.h
+++ b/drivers/pci/controller/pcie-rcar.h
@@ -11,7 +11,7 @@
#define PCIECAR 0x000010
#define PCIECCTLR 0x000018
-#define CONFIG_SEND_ENABLE BIT(31)
+#define PCIECCTLR_CCIE BIT(31)
#define TYPE0 (0 << 8)
#define TYPE1 BIT(8)
#define PCIECDR 0x000020