* Re: [PATCH] ARM: ixp4xx: goramo_mlr depends on old PCI driver
[not found] <20210721151620.2373500-1-arnd@kernel.org>
@ 2021-07-21 20:25 ` Linus Walleij
0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2021-07-21 20:25 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Linus Walleij, SoC Team, Arnd Bergmann, Imre Kaloz,
Krzysztof Halasa, Linux ARM, linux-kernel
On Wed, Jul 21, 2021 at 5:16 PM Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> When this driver is disabled, the board file fails to build,
> so add a dependency:
>
> arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_preinit':
> arch/arm/mach-ixp4xx/goramo_mlr.c:472:9: error: implicit declaration of function 'ixp4xx_pci_preinit'; did you mean 'iop3xx_pci_preinit'? [-Werror=implicit-function-declaration]
> 472 | ixp4xx_pci_preinit();
> | ^~~~~~~~~~~~~~~~~~
> | iop3xx_pci_preinit
> arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_postinit':
> arch/arm/mach-ixp4xx/goramo_mlr.c:481:22: error: implicit declaration of function 'ixp4xx_pci_read' [-Werror=implicit-function-declaration]
> 481 | if (!ixp4xx_pci_read(addr, NP_CMD_CONFIGREAD, &value)) {
> | ^~~~~~~~~~~~~~~
> arch/arm/mach-ixp4xx/goramo_mlr.c:231:35: error: 'IXP4XX_UART1_BASE_PHYS' undeclared here (not in a function)
> 231 | .start = IXP4XX_UART1_BASE_PHYS,
> | ^~~~~~~~~~~~~~~~~~~~~~
> arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_init':
> arch/arm/mach-ixp4xx/goramo_mlr.c:376:9: error: implicit declaration of function 'ixp4xx_sys_init' [-Werror=implicit-function-declaration]
> 376 | ixp4xx_sys_init();
> | ^~~~~~~~~~~~~~~
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: soc@kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Ooops
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-21 20:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210721151620.2373500-1-arnd@kernel.org>
2021-07-21 20:25 ` [PATCH] ARM: ixp4xx: goramo_mlr depends on old PCI driver Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).