Hi Scott,

[Corrected list address.]

On Fri, 11 Jan 2008 14:43:20 -0600 Scott Wood <[EMAIL PROTECTED]> 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                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpS4LsAMfRc8.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to