[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180718095017.4efa2b37@xps13>
Date: Wed, 18 Jul 2018 09:50:17 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Boris Brezillon <boris.brezillon@...tlin.com>
Cc: Arnd Bergmann <arnd@...db.de>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Richard Weinberger <richard@....at>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: nand/raw: MTD_NAND_BCM47XXNFLASH needs CONFIG_BCMA
Hi Arnd,
Boris Brezillon <boris.brezillon@...tlin.com> wrote on Wed, 11 Jul 2018
10:44:46 +0200:
> On Wed, 11 Jul 2018 10:39:44 +0200
> Arnd Bergmann <arnd@...db.de> wrote:
>
> > We already have a dependency on BCMA_NFLASH, which in turn depends on
> > BCMA, but since BCMA is a tristate option and BCMA_NFLASH is bool,
> > we can run into an invalid configuration with MTD_NAND_BCM47XXNFLASH=y
> > and BCMA=m:
> >
> > drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.o: In function `bcm47xxnflash_ops_bcm4706_init':
> > ops_bcm4706.c:(.text+0x790): undefined reference to `bcma_chipco_pll_read'
> >
> > Adding the dependency here forces MTD_NAND_BCM47XXNFLASH to only be
> > configured =m here so it can link against the BCMA driver.
> >
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
>
> Reviewed-by: Boris Brezillon <boris.brezillon@...tlin.com>
>
Applied with prefix changed to "mtd: rawnand:".
Thanks,
Miquèl
Powered by blists - more mailing lists