]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: cosmetic: Fix checkpatch.pl failures in net.h
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 Apr 2015 06:41:20 +0000 (01:41 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:27:17 +0000 (22:27 +0200)
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>
include/net.h

index afe61f678393aea0cf1d8a4624910b039178e6c4..00280aa14bcb8ef840c7916be155497b4fc05670 100644 (file)
@@ -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;