[PATCH] spi-nor: Remove unused spi-nor.o rule

Joel Stanley joel at jms.id.au
Wed Jul 22 04:42:41 EDT 2020


In "mtd: spi-nor: Prepare core / manufacturer code split" the file was
refactored into seperate files, so the rule is no longer required.

Fixes: a0900d0195d2 ("mtd: spi-nor: Prepare core / manufacturer code split")
Reported-by: Cédric Le Goater <clg at kaod.org>
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 drivers/mtd/spi-nor/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index 653923896205..2ede5ef79b01 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -17,6 +17,5 @@ spi-nor-objs			+= sst.o
 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.27.0




More information about the linux-mtd mailing list