diff options
| author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-09-17 13:44:43 -0400 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-09-23 03:35:16 -0400 |
| commit | ba52b4dd653088cb936b94c447f0a4dd20814629 (patch) | |
| tree | 87528668601ea716b23252ffa6a87b37444209f5 /drivers/mtd | |
| parent | fde85cfd2d079bdd733d7b07d9a5775a6f70f458 (diff) | |
mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
activation instead of CONFIG_OF_MTD.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd')
| -rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 75c0c0eb52ae..d68314c8c399 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
| @@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = { | |||
| 1565 | }; | 1565 | }; |
| 1566 | MODULE_DEVICE_TABLE(platform, mxcnd_devtype); | 1566 | MODULE_DEVICE_TABLE(platform, mxcnd_devtype); |
| 1567 | 1567 | ||
| 1568 | #ifdef CONFIG_OF_MTD | 1568 | #ifdef CONFIG_OF |
| 1569 | static const struct of_device_id mxcnd_dt_ids[] = { | 1569 | static const struct of_device_id mxcnd_dt_ids[] = { |
| 1570 | { | 1570 | { |
| 1571 | .compatible = "fsl,imx21-nand", | 1571 | .compatible = "fsl,imx21-nand", |
