[PATCH] mtd: nand: pxa3xx: Add pxa3xx_nand_get_variant() stub for !CONFIG_OF
Brian Norris
computersforpeace at gmail.com
Wed Sep 11 17:51:42 EDT 2013
On Wed, Sep 11, 2013 at 06:23:01PM -0300, Ezequiel Garcia wrote:
> On Wed, Sep 11, 2013 at 01:58:49PM -0700, Brian Norris wrote:
> > On Wed, Sep 11, 2013 at 09:27:11AM -0700, Olof Johansson wrote:
> > > On Wed, Sep 11, 2013 at 9:16 AM, Ezequiel Garcia
> > > <ezequiel.garcia at free-electrons.com> wrote:
> > > > This commit adds a dummy pxa3xx_nand_get_variant() stub, to fix
> > > > this build error (with pxa3xx_defconfig or similar):
> > > >
> > > > drivers/mtd/nand/pxa3xx_nand.c:1325:2: error: implicit declaration of
> > > > function 'pxa3xx_nand_get_variant' [-Werror=implicit-function-declaration]
> > > >
> > > > Cc: Brian Norris <computersforpeace at gmail.com>
> > > > Cc: David Woodhouse <dwmw2 at infradead.org>
> > > > Cc: Olof Johansson <olof at lixom.net>
> > > > Cc: Kevin Hilman <khilman at linaro.org>
> > > > Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
> > >
> > > Nack. This has already been fixed by you(!), Brian is just sitting on
> > > the patch and not sending it up for some reason. Brian?
...
> > Second, David hasn't authorized me to send pull requests, so I'm just
> > queueing things up for him. I don't know why David removed this patch
> > (among a few others) from his pull request.
>
> As you may recall, we did the below patch because you (correctly) noticed
> it was possible to avoid the ifdef. It also fixed the build break, but nobody
> noticed that until just now, so nobody reported the patch was actually a fix.
Well, your series originally defined this stub function before I
recommended a change to drop the CONFIG_OF check. See your v2 patch:
http://lists.infradead.org/pipermail/linux-mtd/2013-August/047863.html
So there never was a build breakage until David rebased; the patch was
just a dependent part of the series that should never have been
postponed.
Brian
More information about the linux-arm-kernel
mailing list