diff options
author | Randy Dunlap <[email protected]> | 2021-09-06 17:19:49 -0700 |
---|---|---|
committer | Lee Jones <[email protected]> | 2021-09-07 08:44:07 +0100 |
commit | cdff1eda69326fb46de10c5454212b3efcf4bb41 (patch) | |
tree | 31869b418f08169e099e65ab2fdf7eb7a31dad48 /lib/test_overflow.c | |
parent | 452d07413954ef38951cfd41507b310c3afccd93 (diff) |
mfd: lpc_sch: Rename GPIOBASE to prevent build error
One MIPS platform (mach-rc32434) defines GPIOBASE. This macro
conflicts with one of the same name in lpc_sch.c. Rename the latter one
to prevent the build error.
../drivers/mfd/lpc_sch.c:25: error: "GPIOBASE" redefined [-Werror]
25 | #define GPIOBASE 0x44
../arch/mips/include/asm/mach-rc32434/rb.h:32: note: this is the location of the previous definition
32 | #define GPIOBASE 0x050000
Cc: Denis Turischev <[email protected]>
Fixes: e82c60ae7d3a ("mfd: Introduce lpc_sch for Intel SCH LPC bridge")
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions