Message ID | 1428475285-25836-21-git-send-email-joe.hershberger@ni.com |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show |
On 8 April 2015 at 00:41, Joe Hershberger <joe.hershberger@ni.com> wrote: > There were still a few remaining complains in the legacy eth_device > definition that hadn't been addressed. > > Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> > --- > > Changes in v2: None > > include/net.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Acked-by: Simon Glass <sjg@chromium.org>
On 8 April 2015 at 06:47, Simon Glass <sjg@chromium.org> wrote: > On 8 April 2015 at 00:41, Joe Hershberger <joe.hershberger@ni.com> wrote: >> There were still a few remaining complains in the legacy eth_device >> definition that hadn't been addressed. >> >> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> >> --- >> >> Changes in v2: None >> >> include/net.h | 12 ++++++------ >> 1 file changed, 6 insertions(+), 6 deletions(-) > > Acked-by: Simon Glass <sjg@chromium.org> Applied to u-boot-dm/next, thanks!
diff --git a/include/net.h b/include/net.h index c4a534c..069b688 100644 --- a/include/net.h +++ b/include/net.h @@ -143,14 +143,14 @@ struct eth_device { phys_addr_t iobase; int state; - int (*init) (struct eth_device *, bd_t *); - int (*send) (struct eth_device *, void *packet, int length); - int (*recv) (struct eth_device *); - void (*halt) (struct eth_device *); + int (*init)(struct eth_device *, bd_t *); + int (*send)(struct eth_device *, void *packet, int length); + int (*recv)(struct eth_device *); + void (*halt)(struct eth_device *); #ifdef CONFIG_MCAST_TFTP - int (*mcast) (struct eth_device *, const u8 *enetaddr, u8 set); + int (*mcast)(struct eth_device *, const u8 *enetaddr, u8 set); #endif - int (*write_hwaddr) (struct eth_device *); + int (*write_hwaddr)(struct eth_device *); struct eth_device *next; int index; void *priv;
There were still a few remaining complains in the legacy eth_device definition that hadn't been addressed. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> --- Changes in v2: None include/net.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)