mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]>
This commit is contained in:
parent
fde85cfd2d
commit
ba52b4dd65
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue