MTD: Makefile fix for mtdsuper
commita43e325240b453083aee4d2d11f378d224098f80
authorSatyam Sharma <satyam@infradead.org>
Tue, 4 Sep 2007 23:10:52 +0000 (5 04:40 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:37 +0000 (26 10:54 -0700)
tree9b0236f4b3e23e758d2f94e20f759d69396bbe65
parentbf3bc19248f00e6939a37e2d5bddde48505e0dda
MTD: Makefile fix for mtdsuper

commit bec494775600b1cd7c144d31a09e1f46df9c6324 in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/Makefile
drivers/mtd/mtdpart.c