diff options
author | Stanislav Brabec <utx@penguin.cz> | 2007-11-19 22:33:02 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-11-28 11:56:19 +0000 |
commit | 73061e4c2dcfba17c6a0137a1199d3e00d03b14c (patch) | |
tree | 6f077ce225949c1cbf6fcfcf7ed2547c583f80b5 /drivers/mtd/nand/Makefile | |
parent | cccb45d4b34728d33638085435f8fdc0a83e0c00 (diff) | |
download | op-kernel-dev-73061e4c2dcfba17c6a0137a1199d3e00d03b14c.zip op-kernel-dev-73061e4c2dcfba17c6a0137a1199d3e00d03b14c.tar.gz |
[MTD] fix CONFIG_MTD_SHARP_SL if CONFIG_MTD=m
Sharp Zaurus SL-C3200 with CONFIG_MTD=m and CONFIG_MTD_SHARP_SL=y (as it
is bool) lost support for the ROM flash. With CONFIG_MTD=y it has no
problems.
It is caused by losing of compiled code of
drivers/mtd/maps/sharpsl-flash.o.
It was linked to drivers/mtd/maps/built-in.o and drivers/mtd/built-in.o,
but lost and not linked to drivers/built-in.o (because CONFIG_MTD!=y).
Patch below fixes this problem by creating sharpsl-flash.ko (and the
code works correctly as a module).
Signed-off-by: Stanislav Brabec <utx@penguin.cz>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
0 files changed, 0 insertions, 0 deletions