summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorJackie Liu <liuyun01@kylinos.cn>2022-03-30 15:09:21 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-03-30 21:26:26 +0300
commitbf64f7fe151b9568443c9b0cf643b3542d36870c (patch)
treee67d12216639cf74aad080267af6b4973ee4fa0c /fs/xfs
parent34123208bbcc8c884a0489f543a23fe9eebb5514 (diff)
downloadlinux-bf64f7fe151b9568443c9b0cf643b3542d36870c.tar.xz
MIPS: rb532: move GPIOD definition into C-files
My kernel robot reports build error from drivers/iio/adc/da9150-gpadc.c, drivers/iio/adc/da9150-gpadc.c:254:13: error: ‘DA9150_GPADC_CHAN_0x08’ undeclared here (not in a function); did you mean ‘DA9150_GPADC_CHAN_TBAT’? 254 | .channel = DA9150_GPADC_CHAN_##_id, We define GPIOD in rb.h, in fact it should only be used in gpio.c, but it affects the driver da9150-gpadc.c which goes against the original intention of the design, just move it to its scope. Fixes: 1b432840d0a4 ("MIPS: RB532: GPIO register offsets are relative to GPIOBASE") Suggested-by: Jonathan Cameron <jic23@kernel.org> Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reported-by: k2ci <kernel-bot@kylinos.cn> Signed-off-by: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions