Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: tests: rename sources in order to link a helper object

Each mtd test module have a single source whose name is the same as
the module name. In order to link a single object including helper
functions to every test module, this rename these sources to the
different names.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Vikram Narayanan <vikram186@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Akinobu Mita and committed by
David Woodhouse
a995c792 084db4b0

+9
+9
drivers/mtd/tests/Makefile
··· 7 7 obj-$(CONFIG_MTD_TESTS) += mtd_torturetest.o 8 8 obj-$(CONFIG_MTD_TESTS) += mtd_nandecctest.o 9 9 obj-$(CONFIG_MTD_TESTS) += mtd_nandbiterrs.o 10 + 11 + mtd_oobtest-objs := oobtest.o mtd_test.o 12 + mtd_pagetest-objs := pagetest.o mtd_test.o 13 + mtd_readtest-objs := readtest.o mtd_test.o 14 + mtd_speedtest-objs := speedtest.o mtd_test.o 15 + mtd_stresstest-objs := stresstest.o mtd_test.o 16 + mtd_subpagetest-objs := subpagetest.o mtd_test.o 17 + mtd_torturetest-objs := torturetest.o mtd_test.o 18 + mtd_nandbiterrs-objs := nandbiterrs.o mtd_test.o
drivers/mtd/tests/mtd_nandbiterrs.c drivers/mtd/tests/nandbiterrs.c
drivers/mtd/tests/mtd_oobtest.c drivers/mtd/tests/oobtest.c
drivers/mtd/tests/mtd_pagetest.c drivers/mtd/tests/pagetest.c
drivers/mtd/tests/mtd_readtest.c drivers/mtd/tests/readtest.c
drivers/mtd/tests/mtd_speedtest.c drivers/mtd/tests/speedtest.c
drivers/mtd/tests/mtd_stresstest.c drivers/mtd/tests/stresstest.c
drivers/mtd/tests/mtd_subpagetest.c drivers/mtd/tests/subpagetest.c
drivers/mtd/tests/mtd_torturetest.c drivers/mtd/tests/torturetest.c