[PATCH 3/3] Freescale enhanced Local Bus Controller FCM NAND support.

Stephen Rothwell sfr at canb.auug.org.au
Mon Jan 14 01:19:45 EST 2008


Hi Scott,

[Corrected list address.]

On Fri, 11 Jan 2008 14:43:20 -0600 Scott Wood <scottwood at freescale.com> 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 at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080114/a706e58e/attachment.bin 


More information about the linux-mtd mailing list