PCI: rcar: Avoid defines prefixed with CONFIG
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Fri, 13 Jan 2023 08:45:16 +0000 (09:45 +0100)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Fri, 10 Mar 2023 12:34:27 +0000 (13:34 +0100)
commit727de4c0876836fdf59ec13c3121880fc939cc3e
treeecceebaa24a3360a92c74f3e93875567c6d37548
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
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>
drivers/pci/controller/pcie-rcar-host.c
drivers/pci/controller/pcie-rcar.h