mtd: docg3 fix missing bitreverse lib

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 15 04:59:01 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=bf65aaa637cabae0386fe46b1ad5cd16997474f5
Commit:     bf65aaa637cabae0386fe46b1ad5cd16997474f5
Parent:     7a9c83888761a9a26049b439dc0b09e7ea8a854b
Author:     Robert Jarzmik <robert.jarzmik at free.fr>
AuthorDate: Mon Jan 14 20:01:37 2013 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Tue Jan 15 09:19:06 2013 +0000

    mtd: docg3 fix missing bitreverse lib
    
    Fix missing dependency which can cause a build error such
    as: ERROR: "byte_rev_table" [drivers/mtd/devices/docg3.ko]
    undefined!
    
    Reported-by: Randy Dunlap <rdunlap at infradead.org>
    Acked-by: Randy Dunlap <rdunlap at infradead.org>
    Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/devices/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index 27f80cd..46dcb54 100644
--- a/drivers/mtd/devices/Kconfig
+++ b/drivers/mtd/devices/Kconfig
@@ -272,6 +272,7 @@ config MTD_DOCG3
 	tristate "M-Systems Disk-On-Chip G3"
 	select BCH
 	select BCH_CONST_PARAMS
+	select BITREVERSE
 	---help---
 	  This provides an MTD device driver for the M-Systems DiskOnChip
 	  G3 devices.



More information about the linux-mtd-cvs mailing list