Skip to content

Commit 2098c56

Browse files
groeckrichardweinberger
authored andcommitted
mtd: spi-nor: Compile files in controllers/ directory
Commit a0900d0 ("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: a0900d0 ("mtd: spi-nor: Prepare core / manufacturer code split") Cc: Boris Brezillon <[email protected]> Cc: Tudor Ambarus <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Acked-by: Joel Stanley <[email protected]> Reviewed-by: Tudor Ambarus <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent c0cc271 commit 2098c56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/mtd/spi-nor/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ spi-nor-objs += winbond.o
1818
spi-nor-objs += xilinx.o
1919
spi-nor-objs += xmc.o
2020
obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o
21+
22+
obj-$(CONFIG_MTD_SPI_NOR) += controllers/

0 commit comments

Comments
 (0)