base-files: define yes/no as valid boolean options
[openwrt/staging/lynxis/omap.git] / target / linux / mvebu / patches-3.10 / 0109-mtd-nand-pxa3xx-Fix-MODULE_DEVICE_TABLE-declaration.patch
1 From 3bda9dc1472596d094f020ab7231466d54b6fe00 Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
3 Date: Tue, 14 May 2013 08:15:23 -0300
4 Subject: [PATCH 109/203] mtd: nand: pxa3xx: Fix MODULE_DEVICE_TABLE
5 declaration
6
7 This module's device table is incorrectly declared using
8 i2c_pxa_dt_ids, instead of pxa3xx_nand_dt_ids.
9
10 Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
11 Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
12 Acked-by: Igor Grinberg <grinberg@compulab.co.il>
13 Reviewed-by: Haojian Zhuang <haojian.zhuang@gmail.com>
14 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
15 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
16 ---
17 drivers/mtd/nand/pxa3xx_nand.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- a/drivers/mtd/nand/pxa3xx_nand.c
21 +++ b/drivers/mtd/nand/pxa3xx_nand.c
22 @@ -1185,7 +1185,7 @@ static struct of_device_id pxa3xx_nand_d
23 { .compatible = "marvell,pxa3xx-nand" },
24 {}
25 };
26 -MODULE_DEVICE_TABLE(of, i2c_pxa_dt_ids);
27 +MODULE_DEVICE_TABLE(of, pxa3xx_nand_dt_ids);
28
29 static int pxa3xx_nand_probe_dt(struct platform_device *pdev)
30 {