mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
net: cosmetic: Fix checkpatch.pl failures in net.h
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> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ff819a3a33
commit
a34f207563
1 changed files with 6 additions and 6 deletions
|
@ -149,14 +149,14 @@ struct eth_device {
|
||||||
phys_addr_t iobase;
|
phys_addr_t iobase;
|
||||||
int state;
|
int state;
|
||||||
|
|
||||||
int (*init) (struct eth_device *, bd_t *);
|
int (*init)(struct eth_device *, bd_t *);
|
||||||
int (*send) (struct eth_device *, void *packet, int length);
|
int (*send)(struct eth_device *, void *packet, int length);
|
||||||
int (*recv) (struct eth_device *);
|
int (*recv)(struct eth_device *);
|
||||||
void (*halt) (struct eth_device *);
|
void (*halt)(struct eth_device *);
|
||||||
#ifdef CONFIG_MCAST_TFTP
|
#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
|
#endif
|
||||||
int (*write_hwaddr) (struct eth_device *);
|
int (*write_hwaddr)(struct eth_device *);
|
||||||
struct eth_device *next;
|
struct eth_device *next;
|
||||||
int index;
|
int index;
|
||||||
void *priv;
|
void *priv;
|
||||||
|
|
Loading…
Add table
Reference in a new issue