On Mon, Oct 20, 2014 at 09:59:44AM -0500, Andrew Ruder wrote: > Currently this argument is not used. To eventually support multiple > DM9000's these public-facing functions will need a new argument - the > ethernet device. Fix-up the one board using this part of the DM9000 > API. Compile-tested only. [snip] > -void dm9000_read_srom_word(int offset, u8 *to) > +void dm9000_read_srom_word(struct eth_device *dev, int offset, u8 *to) > { > + (void)dev;
You shouldn't have to add this to avoid a warning I think. And frankly, if it does for some reason since 3/3 makes use of dev, I'm OK with a bisect adding a trivial warning like this, rather than do compiler games. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot