[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACPK8Xdmjp0qg0JHHnR1MJp7zmuZHCHTOs7+qn5_16oLbe+r+g@mail.gmail.com>
Date: Mon, 6 Apr 2020 01:20:01 +0000
From: Joel Stanley <joel@....id.au>
To: Guenter Roeck <linux@...ck-us.net>,
Tudor Ambarus <tudor.ambarus@...rochip.com>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd <linux-mtd@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Boris Brezillon <bbrezillon@...nel.org>,
linux-aspeed <linux-aspeed@...ts.ozlabs.org>,
Cédric Le Goater <clg@...d.org>,
Andrew Jeffery <andrew@...id.au>
Subject: Re: [PATCH] mtd: spi-nor: Compile files in controllers/ directory
On Sat, 4 Apr 2020 at 15:37, Guenter Roeck <linux@...ck-us.net> wrote:
>
> Commit a0900d0195d2 ("mtd: spi-nor: Prepare core / manufacturer code
> split") moved various files into a new directory, but did not add the new
> directory to its parent directory Makefile. The moved files no longer
> build, and affected flash chips no longer instantiate.
>
> Adding the new directory to the parent directory Makefile fixes the
> problem.
>
> Fixes: a0900d0195d2 ("mtd: spi-nor: Prepare core / manufacturer code split")
> Cc: Boris Brezillon <bbrezillon@...nel.org>
> Cc: Tudor Ambarus <tudor.ambarus@...rochip.com>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
Thanks Guenter. I just discovered this too.
Acked-by: Joel Stanley <joel@....id.au>
> ---
> drivers/mtd/spi-nor/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
> index 7ddb742de1fe..653923896205 100644
> --- a/drivers/mtd/spi-nor/Makefile
> +++ b/drivers/mtd/spi-nor/Makefile
> @@ -18,3 +18,5 @@ spi-nor-objs += winbond.o
> spi-nor-objs += xilinx.o
> spi-nor-objs += xmc.o
> obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o
> +
> +obj-$(CONFIG_MTD_SPI_NOR) += controllers/
> --
> 2.17.1
>
Powered by blists - more mailing lists