qed: avoid defines prefixed with CONFIG
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 23 Nov 2022 10:33:05 +0000 (11:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Nov 2022 08:13:09 +0000 (08:13 +0000)
commit39701603519e5b43a717b6db6fef9144800fdad8
tree2bba1351ba20d004b907e2751bff00c996539f12
parent8dbd6e4ce1b9c527921643d9e34f188a10d4e893
qed: avoid defines prefixed with CONFIG

Defines prefixed with "CONFIG" should be limited to proper Kconfig options,
that are introduced in a Kconfig file.

Here, constants for bitmap indices of some configs are defined and these
defines begin with the config's name, and are suffixed with BITMAP_IDX.

To avoid defines prefixed with "CONFIG", name these constants
BITMAP_IDX_FOR_CONFIG_XYZ instead of CONFIG_XYZ_BITMAP_IDX.

No functional change.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_mcp.c