diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-09-07 03:19:49 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-09-07 10:44:07 +0300 |
commit | cdff1eda69326fb46de10c5454212b3efcf4bb41 (patch) | |
tree | 31869b418f08169e099e65ab2fdf7eb7a31dad48 /drivers/clk | |
parent | 452d07413954ef38951cfd41507b310c3afccd93 (diff) | |
download | linux-cdff1eda69326fb46de10c5454212b3efcf4bb41.tar.xz |
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 <denis@compulab.co.il>
Fixes: e82c60ae7d3a ("mfd: Introduce lpc_sch for Intel SCH LPC bridge")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions