1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/mips/include/asm/mach-rc32434
Jackie Liu bf64f7fe15 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: 1b432840d0 ("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>
2022-03-30 20:26:26 +02:00
..
cpu-feature-overrides.h MIPS: Remove TX39XX support 2022-03-01 10:07:22 +01:00
ddr.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dma_v.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
eth.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
gpio.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
integ.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
irq.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.h MIPS: Remove dead code in pci.h 2020-05-07 10:30:06 +02:00
prom.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
rb.h MIPS: rb532: move GPIOD definition into C-files 2022-03-30 20:26:26 +02:00
rc32434.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
timer.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00