|
@@ -1686,7 +1686,7 @@ static const struct of_device_id mxcnd_dt_ids[] = {
|
|
|
};
|
|
|
MODULE_DEVICE_TABLE(of, mxcnd_dt_ids);
|
|
|
|
|
|
-static int __init mxcnd_probe_dt(struct mxc_nand_host *host)
|
|
|
+static int mxcnd_probe_dt(struct mxc_nand_host *host)
|
|
|
{
|
|
|
struct device_node *np = host->dev->of_node;
|
|
|
const struct of_device_id *of_id =
|
|
@@ -1700,7 +1700,7 @@ static int __init mxcnd_probe_dt(struct mxc_nand_host *host)
|
|
|
return 0;
|
|
|
}
|
|
|
#else
|
|
|
-static int __init mxcnd_probe_dt(struct mxc_nand_host *host)
|
|
|
+static int mxcnd_probe_dt(struct mxc_nand_host *host)
|
|
|
{
|
|
|
return 1;
|
|
|
}
|