From: Linus Walleij <linus.walleij@linaro.org>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Alexandre Courbot <gnurou@gmail.com>
Subject: Re: [PATCH] gpio: Remove superfluous include of io-mapping.h
Date: Wed, 24 Aug 2016 13:55:28 +0200 [thread overview]
Message-ID: <CACRpkdZR+1+9MXSKL-MeHOmPTueAvg0xHRre8ApnoYM3inqmUw@mail.gmail.com> (raw)
In-Reply-To: <20160823203203.14134-1-chris@chris-wilson.co.uk>
On Tue, Aug 23, 2016 at 10:32 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> The io-mapping.h include arose from the need to workaround an arch/um
> compile failure:
>
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_probe':
>>> drivers/gpio/gpio-mpc8xxx.c:373:2: error: implicit declaration of
>>> function 'iounmap' [-Werror=implicit-function-declaration]
> iounmap(mpc8xxx_gc->regs);
> ^~~~~~~
>
> from commit 296ad4acb8ef ("gpio: remove deps on
> ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") but io-mapping.h doesn't provide
> iounmap so the problem persisted and eventually (will be) silenced by
> making OF_GPIO depend on !NO_IOMEM (i.e. disabling building under
> arch/um). My desire to remove the unneed include to io-mapping is to
> simplify verification of changes to io-mapping.h
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Alexandre Courbot <gnurou@gmail.com>
> Cc: linux-gpio@vger.kernel.org
I chose to to a proper revert instead, but I have added your for
Reported-by:
Thanks a lot.
Yours,
Linus Walleij
next prev parent reply other threads:[~2016-08-24 11:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 20:32 [PATCH] gpio: Remove superfluous include of io-mapping.h Chris Wilson
2016-08-24 11:55 ` Linus Walleij [this message]
2016-08-24 12:08 ` Chris Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACRpkdZR+1+9MXSKL-MeHOmPTueAvg0xHRre8ApnoYM3inqmUw@mail.gmail.com \
--to=linus.walleij@linaro.org \
--cc=chris@chris-wilson.co.uk \
--cc=gnurou@gmail.com \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).