Hi Anton,

On Tue, 13 May 2008 18:14:54 +0400 Anton Vorontsov <[EMAIL PROTECTED]> wrote:
>
> +static struct of_platform_driver mpc83xx_wdt_driver = {
> +     .name           = "mpc83xx_wdt",
> +     .match_table    = mpc83xx_wdt_match,
>       .probe          = mpc83xx_wdt_probe,
>       .remove         = __devexit_p(mpc83xx_wdt_remove),
> -     .driver         = {
> -             .name   = "mpc83xx_wdt",
> -             .owner  = THIS_MODULE,
> -     },

You should leave this as it was because the name and owner fields are
being removed from struct of_platform_driver in favour of those embedded in
the .driver.

Maybe I should add a comment to the structure definition.  Or maybe it is
time to actually remove them.

-- 
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpn4MgZOooHw.pgp
Description: PGP signature

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

Reply via email to