aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten de Jonge <mdejonge1990@gmail.com>2014-05-04 19:26:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-23 20:43:47 +0900
commitf03fcca08c74b76f0a8686620e2a065d4ddfe4a1 (patch)
tree35d2fc90448ee85441d7abfacc44c8a6741e76ba
parent8ea6cdf527aa4439604a4712ff2a35373471e367 (diff)
staging: et131x: add blank lines after declarations
Signed-off-by: Maarten de Jonge <mdejonge1990@gmail.com> Acked-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/et131x/et131x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
index 1ac718476ed..0901ef5d6e8 100644
--- a/drivers/staging/et131x/et131x.c
+++ b/drivers/staging/et131x/et131x.c
@@ -762,6 +762,7 @@ static int et131x_init_eeprom(struct et131x_adapter *adapter)
*/
if (eestatus & 0x4C) {
int write_failed = 0;
+
if (pdev->revision == 0x01) {
int i;
static const u8 eedata[4] = { 0xFE, 0x13, 0x10, 0xFF };
@@ -2091,6 +2092,7 @@ static void et1310_disable_phy_coma(struct et131x_adapter *adapter)
static inline u32 bump_free_buff_ring(u32 *free_buff_ring, u32 limit)
{
u32 tmp_free_buff_ring = *free_buff_ring;
+
tmp_free_buff_ring++;
/* This works for all cases where limit < 1024. The 1023 case
* works because 1023++ is 1024 which means the if condition is not