summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:20 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:35 -0600
commita34f2075633d7928e2988193b0caba5854e6ef20 (patch)
tree9b1206c6c6d7b60a16d280fc25fa42a7b3a5eb5d
parentff819a3a33de2152a52425e4108d41de5fc7fa64 (diff)
downloadtalos-obmc-uboot-a34f2075633d7928e2988193b0caba5854e6ef20.tar.gz
talos-obmc-uboot-a34f2075633d7928e2988193b0caba5854e6ef20.zip
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>
-rw-r--r--include/net.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net.h b/include/net.h
index 279a5b493a..73fa04f2be 100644
--- a/include/net.h
+++ b/include/net.h
@@ -149,14 +149,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;
OpenPOWER on IntegriCloud