[MTD] mtdcore.c: share syms with mtd_blkdev.c
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 May 2007 19:28:34 +0000 (20:28 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 28 Jun 2007 19:24:50 +0000 (20:24 +0100)
commit356d70f19d949a11320ab626037b2d197a8e8b51
tree5c78cf2f6011ed56504abd2c58d8833e4b2ecd3f
parent029a9eb1f667ca71fe7eb3bf8962f01ac4d252a5
[MTD] mtdcore.c: share syms with mtd_blkdev.c

Fix the sparse warnings generated by the implicit
dependency of mtd_blkdevs.c and mtd_core.c for the
two symbols mtd_table and mtd_table_mutex. This is
done by adding an local header file mtdcore.h to
define these (including the warning about the
non-proliferation of these symbols).

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtd_blkdevs.c
drivers/mtd/mtdcore.c
drivers/mtd/mtdcore.h [new file with mode: 0644]
This page took 0.027095 seconds and 5 git commands to generate.