mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
drm/amdkfd: avoid CONFIG_ prefix for non-Kconfig symbols
The CONFIG_ prefix is reserved for Kconfig options in Make and CPP
syntax. Various static analysis tools rely on this naming convention
and check if CONFIG_ prefixed symbols are defined Kconfig. Hence add
yet another prefix AMD_ to CONFIG_REG_{BASE,END,SISE} to apply to this
convention and make static analysis tools happy.
Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
committed by
Oded Gabbay
parent
ae45577324
commit
f4e04022ed
@@ -48,9 +48,9 @@ enum {
|
||||
|
||||
/* CONFIG reg space definition */
|
||||
enum {
|
||||
CONFIG_REG_BASE = 0x2000, /* in dwords */
|
||||
CONFIG_REG_END = 0x2B00,
|
||||
CONFIG_REG_SIZE = CONFIG_REG_END - CONFIG_REG_BASE
|
||||
AMD_CONFIG_REG_BASE = 0x2000, /* in dwords */
|
||||
AMD_CONFIG_REG_END = 0x2B00,
|
||||
AMD_CONFIG_REG_SIZE = AMD_CONFIG_REG_END - AMD_CONFIG_REG_BASE
|
||||
};
|
||||
|
||||
/* SH reg space definition */
|
||||
|
||||
Reference in New Issue
Block a user