summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_init.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2008-08-13 15:59:25 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-13 16:05:38 -0700
commit6378c0253175e400525ac0efac9dd29f4e573cbf (patch)
treebaec5bfdfc0461ffea8380ee3b7debd4154ef4e3 /drivers/net/bnx2x_init.h
parent3347162995d23bc13f6f99c02ae89814babcaec2 (diff)
downloadop-kernel-dev-6378c0253175e400525ac0efac9dd29f4e573cbf.zip
op-kernel-dev-6378c0253175e400525ac0efac9dd29f4e573cbf.tar.gz
bnx2x: Checkpatch compliance
Checkpatch compliance The latest version of checkpatch found the following style errors in the code Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_init.h')
-rw-r--r--drivers/net/bnx2x_init.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h
index f62891b..130927cf 100644
--- a/drivers/net/bnx2x_init.h
+++ b/drivers/net/bnx2x_init.h
@@ -72,26 +72,26 @@
struct raw_op {
- u32 op :8;
- u32 offset :24;
+ u32 op:8;
+ u32 offset:24;
u32 raw_data;
};
struct op_read {
- u32 op :8;
- u32 offset :24;
+ u32 op:8;
+ u32 offset:24;
u32 pad;
};
struct op_write {
- u32 op :8;
- u32 offset :24;
+ u32 op:8;
+ u32 offset:24;
u32 val;
};
struct op_string_write {
- u32 op :8;
- u32 offset :24;
+ u32 op:8;
+ u32 offset:24;
#ifdef __LITTLE_ENDIAN
u16 data_off;
u16 data_len;
@@ -102,8 +102,8 @@ struct op_string_write {
};
struct op_zero {
- u32 op :8;
- u32 offset :24;
+ u32 op:8;
+ u32 offset:24;
u32 len;
};
OpenPOWER on IntegriCloud