Commit:     1ef93a0f668c8736cb6b6c3a43a5b8101efa24af
Parent:     a6b1d82d079a99d09761ee5fbc66c49f33b42324
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 9 01:16:38 2006 +0200
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Mon Oct 9 07:25:28 2006 +0100

    [MTD] SSFDC must depend on BLOCK
    This patch fixes the following compile error with
    <--  snip  -->
      CC [M]  drivers/mtd/mtd_blkdevs.o
warning: ‘struct request’ declared inside parameter list
warning: its scope is only this definition or declaration, which is probably 
not what you want
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtd_blkdevs.c: In 
function ‘do_blktrans_request’:
error: dereferencing pointer to incomplete type
    make[3]: *** [drivers/mtd/mtd_blkdevs.o] Error 1
    <--  snip  -->
    Bug report by Jesper Juhl.
    This patch also removes a pointless "default n" from the SSFDC option.
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
 drivers/mtd/Kconfig |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index a304b34..291660a 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -265,8 +265,7 @@ config RFD_FTL
 config SSFDC
        tristate "NAND SSFDC (SmartMedia) read only translation layer"
-       depends on MTD
-       default n
+       depends on MTD && BLOCK
          This enables read only access to SmartMedia formatted NAND
          flash. You can mount it with FAT file system.
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to