mtd: nand: pxa3xx: Fix MODULE_DEVICE_TABLE declaration

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Aug 5 16:59:04 EDT 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f3958984259f01503ff9629f3564b11bf57a98be
Commit:     f3958984259f01503ff9629f3564b11bf57a98be
Parent:     a33e435c2822d9c6351deed1cda0184638cfbb42
Author:     Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
AuthorDate: Tue May 14 08:15:23 2013 -0300
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Aug 5 20:57:59 2013 +0100

    mtd: nand: pxa3xx: Fix MODULE_DEVICE_TABLE declaration
    
    This module's device table is incorrectly declared using
    i2c_pxa_dt_ids, instead of pxa3xx_nand_dt_ids.
    
    Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
    Tested-by: Nikita Kiryanov <nikita at compulab.co.il>
    Acked-by: Igor Grinberg <grinberg at compulab.co.il>
    Reviewed-by: Haojian Zhuang <haojian.zhuang at gmail.com>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/pxa3xx_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 8386e9a..e4e697f 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -1185,7 +1185,7 @@ static struct of_device_id pxa3xx_nand_dt_ids[] = {
 	{ .compatible = "marvell,pxa3xx-nand" },
 	{}
 };
-MODULE_DEVICE_TABLE(of, i2c_pxa_dt_ids);
+MODULE_DEVICE_TABLE(of, pxa3xx_nand_dt_ids);
 
 static int pxa3xx_nand_probe_dt(struct platform_device *pdev)
 {



More information about the linux-mtd-cvs mailing list