The patch titled
     fix CONFIG_MTD_SHARP_SL if CONFIG_MTD=m
has been added to the -mm tree.  Its filename is
     fix-config_mtd_sharp_sl-if-config_mtd=m-try2.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fix CONFIG_MTD_SHARP_SL if CONFIG_MTD=m
From: Stanislav Brabec <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Cc: Pavel Machek <[EMAIL PROTECTED]>
Cc: David Woodhouse <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/mtd/maps/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/mtd/maps/Kconfig~fix-config_mtd_sharp_sl-if-config_mtd=m-try2 
drivers/mtd/maps/Kconfig
--- a/drivers/mtd/maps/Kconfig~fix-config_mtd_sharp_sl-if-config_mtd=m-try2
+++ a/drivers/mtd/maps/Kconfig
@@ -576,7 +576,7 @@ config MTD_BAST_MAXSIZE
        default "4"
 
 config MTD_SHARP_SL
-       bool "ROM mapped on Sharp SL Series"
+       tristate "ROM mapped on Sharp SL Series"
        depends on ARCH_PXA
        help
          This enables access to the flash chip on the Sharp SL Series of PDAs.
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

git-alsa.patch
fix-config_mtd_sharp_sl-if-config_mtd=m-try2.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to