[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaTJej2zFX0y7mAYymBdGNvHpp3VyU0kOd=ScA_gMAf-A@mail.gmail.com>
Date: Mon, 16 Dec 2019 11:39:37 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Brendan Higgins <brendanhiggins@...gle.com>
Cc: jdike@...toit.com, Richard Weinberger <richard@....at>,
anton.ivanov@...bridgegreys.com, linux-um@...ts.infradead.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
David Gow <davidgow@...gle.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH v1 1/7] pinctrl: equilibrium: add unspecified HAS_IOMEM dependency
On Wed, Dec 11, 2019 at 8:28 PM Brendan Higgins
<brendanhiggins@...gle.com> wrote:
> Currently CONFIG_PINCTRL_EQUILIBRIUM=y implicitly depends on
> CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
> the following build error:
>
> ld: drivers/pinctrl/pinctrl-equilibrium.o: in function `eqbr_pinctrl_probe':
> drivers/pinctrl/pinctrl-equilibrium.c:908: undefined reference to `devm_platform_ioremap_resource'
> ld: drivers/pinctrl/pinctrl-equilibrium.c:223: undefined reference to `devm_ioremap_resource'
>
> Fix the build error by adding the CONFIG_HAS_IOMEM=y dependency.
>
> Reported-by: Brendan Higgins <brendanhiggins@...gle.com>
> Signed-off-by: Brendan Higgins <brendanhiggins@...gle.com>
Patch applied but I augmented it with the recently added
OF dependency so it now says:
depends on OF && HAS_IOMEM
Yours,
Linus Walleij
Powered by blists - more mailing lists