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>
此提交包含在:
Boris Brezillon
2016-09-17 19:44:43 +02:00
父節點 fde85cfd2d
當前提交 ba52b4dd65

查看文件

@@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = {
};
MODULE_DEVICE_TABLE(platform, mxcnd_devtype);
#ifdef CONFIG_OF_MTD
#ifdef CONFIG_OF
static const struct of_device_id mxcnd_dt_ids[] = {
{
.compatible = "fsl,imx21-nand",