From 50e88c0fea36cccaeec75e790540721a3a62c349 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sun, 4 Dec 2022 10:14:18 -0500 Subject: [PATCH] pci-rcar-gen3: Rename CONFIG_SEND_ENABLE We rename the symbol CONFIG_SEND_ENABLE to just SEND_ENABLE, and remove the second whitespace following the define. Signed-off-by: Tom Rini --- drivers/pci/pci-rcar-gen3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pci-rcar-gen3.c b/drivers/pci/pci-rcar-gen3.c index 49029238d3..1252ef74c5 100644 --- a/drivers/pci/pci-rcar-gen3.c +++ b/drivers/pci/pci-rcar-gen3.c @@ -27,7 +27,7 @@ #define PCIECAR 0x000010 #define PCIECCTLR 0x000018 -#define CONFIG_SEND_ENABLE BIT(31) +#define SEND_ENABLE BIT(31) #define TYPE0 (0 << 8) #define TYPE1 BIT(8) #define PCIECDR 0x000020 @@ -170,9 +170,9 @@ static int rcar_pcie_config_access(const struct udevice *udev, /* Enable the configuration access */ if (!PCI_BUS(bdf)) - writel(CONFIG_SEND_ENABLE | TYPE0, priv->regs + PCIECCTLR); + writel(SEND_ENABLE | TYPE0, priv->regs + PCIECCTLR); else - writel(CONFIG_SEND_ENABLE | TYPE1, priv->regs + PCIECCTLR); + writel(SEND_ENABLE | TYPE1, priv->regs + PCIECCTLR); /* Check for errors */ if (readl(priv->regs + PCIEERRFR) & UNSUPPORTED_REQUEST) -- 2.39.5