Hi Scott,
[Corrected list address.]
On Fri, 11 Jan 2008 14:43:20 -0600 Scott Wood [off-list ref] wrote:
+static int __devinit fsl_elbc_ctrl_probe(struct of_device *ofdev,
+ const struct of_device_id *match)
+{
+ child = NULL;
+ while ((child = of_get_next_child(ofdev->node, child)))
for_each_child_of_node(of_dev->node, child)
+ if (of_device_is_compatible(child, "fsl,elbc-fcm-nand"))
+ fsl_elbc_chip_probe(ctrl, child);
+static struct of_device_id fsl_elbc_match[] = {
const, please.
+static struct of_platform_driver fsl_elbc_ctrl_driver = {
.driver = {
+ .name = "fsl-elbc",
},
+ .match_table = fsl_elbc_match,
+ .probe = fsl_elbc_ctrl_probe,
+ .remove = __devexit_p(fsl_elbc_ctrl_remove),
+};
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/