[MTD] Makefile fix for mtdsuper
authorSatyam Sharma <satyam@infradead.org>
Fri, 3 Aug 2007 02:57:13 +0000 (08:27 +0530)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 3 Aug 2007 11:42:40 +0000 (12:42 +0100)
commitbec494775600b1cd7c144d31a09e1f46df9c6324
tree00f7a7ac88ab2d2d46ef0d00aa9b58c27eb7a246
parent7a883eaf62f4b943ebec738ce3b0796c67ef5d32
[MTD] Makefile fix for mtdsuper

We want drivers/mtd/{mtdcore, mtdsuper, mtdpart}.c to be built and linked
into the same mtd.ko module. Fix the Makefile to ensure this, and remove
duplicate MODULE_ declarations in mtdpart.c, as mtdcore.c already has them.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/Makefile
drivers/mtd/mtdpart.c