mtd: spi-nor: Compile files in controllers/ directory
authorGuenter Roeck <linux@roeck-us.net>
Sat, 4 Apr 2020 15:36:31 +0000 (08:36 -0700)
committerRichard Weinberger <richard@nod.at>
Thu, 9 Apr 2020 20:00:13 +0000 (22:00 +0200)
commit2098c564701c0dde76063dd9c5c00a7a1f173541
treef52bdded85f54134978b86508b4332edc69486da
parentc0cc271173b2e1c2d8d0ceaef14e4dfa79eefc0d
mtd: spi-nor: Compile files in controllers/ directory

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@kernel.org>
Cc: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/spi-nor/Makefile