summaryrefslogtreecommitdiff
path: root/drivers/mfd/db8500-prcmu.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-09-06 17:19:49 -0700
committerLee Jones <lee.jones@linaro.org>2021-09-07 08:44:07 +0100
commitcdff1eda69326fb46de10c5454212b3efcf4bb41 (patch)
tree31869b418f08169e099e65ab2fdf7eb7a31dad48 /drivers/mfd/db8500-prcmu.c
parent452d07413954ef38951cfd41507b310c3afccd93 (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 <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/mfd/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions