Skip to content

Commit

Permalink
mtd: spi-nor: Compile files in controllers/ directory
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
groeck authored and richardweinberger committed Apr 9, 2020
1 parent c0cc271 commit 2098c56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mtd/spi-nor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 2098c56

Please sign in to comment.