On Wednesday 11 November 2009 03:03:01 Mike Rapoport wrote:
> --- a/drivers/net/smc911x.h
> +++ b/drivers/net/smc911x.h
> @@ -480,8 +480,8 @@ static void smc911x_reset(struct eth_device *dev)
>                       !(smc911x_reg_read(dev, PMT_CTRL) & PMT_CTRL_READY))
>                       udelay(10);
>               if (!timeout) {
> -                     printf(DRIVERNAME
> -                             ": timeout waiting for PM restore\n");
> +                     printf("%s: timeout waiting for PM restore\n",
> +                            dev->name);
>                       return;
>               }
>       }

these changes in general look good, but if you're going to modify the common 
header, you need to update the eeprom code as well to set up the name field
-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