On Wednesday 26 August 2009 16:13:03 Jean-Christophe PLAGNIOL-VILLARD wrote:
> +void generic_phy_register(void)
> +{
> +     struct phy_driver generic_phy = {
> +             .name = "Generic PHY",
> +             .phy_id = 0xffffffff,
> +             .phy_id_mask = 0xffffffff,
> +             .features = 0,
> +             .config_init = generic_phy_init,
> +     };
> +
> +     phy_driver_register(&generic_phy);

you cant register a driver you declared on the stack
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to