Patchwork [3/5] mtd: nand: pxa3xx: Fix MODULE_DEVICE_TABLE declaration

login
register
mail settings
Submitter Ezequiel Garcia
Date May 14, 2013, 11:15 a.m.
Message ID <1368530125-12959-4-git-send-email-elezegarcia@gmail.com>
Download mbox | patch
Permalink /patch/243946/
State New
Headers show

Comments

Ezequiel Garcia - May 14, 2013, 11:15 a.m.
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

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@free-electrons.com>
---
 drivers/mtd/nand/pxa3xx_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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)
 {