
11 Aug
2015
11 Aug
'15
5:57 p.m.
Hi Simon,
On Tue, Aug 11, 2015 at 8:39 AM, Simon Glass sjg@chromium.org wrote:
Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid using it in the driver unless necessary. Most of the time it is better to pass the private driver pointer anyway.
Also refactor the code so that code that the driver model implementation will share are available in functions that can be called. Add stubs where necessary.
Signed-off-by: Simon Glass sjg@chromium.org
Acked-by: Joe Hershberger joe.hershberger@ni.com
*Include list this time.