提交 ba52b4dd 编写于 作者: B Boris Brezillon

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: NBoris Brezillon <boris.brezillon@free-electrons.com>
上级 fde85cfd
...@@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = { ...@@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = {
}; };
MODULE_DEVICE_TABLE(platform, mxcnd_devtype); MODULE_DEVICE_TABLE(platform, mxcnd_devtype);
#ifdef CONFIG_OF_MTD #ifdef CONFIG_OF
static const struct of_device_id mxcnd_dt_ids[] = { static const struct of_device_id mxcnd_dt_ids[] = {
{ {
.compatible = "fsl,imx21-nand", .compatible = "fsl,imx21-nand",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册