[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 31 Dec 2007 19:59:56 -0600
From: jacliburn@...lsouth.net
To: jeff@...zik.org
Cc: csnook@...hat.com, linux-kernel@...r.kernel.org,
atl1-devel@...ts.sourceforge.net,
Jay Cliburn <jacliburn@...lsouth.net>
Subject: [PATCH 18/26] atl1: make function static
From: Jay Cliburn <jacliburn@...lsouth.net>
Make atl1_reset() a static function.
Signed-off-by: Jay Cliburn <jacliburn@...lsouth.net>
---
drivers/net/atlx/atl1.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
index 6432956..7697e80 100644
--- a/drivers/net/atlx/atl1.c
+++ b/drivers/net/atlx/atl1.c
@@ -2351,12 +2351,13 @@ static void atl1_phy_config(unsigned long data)
clear_bit(0, &adapter->cfg_phy);
}
-int atl1_reset(struct atl1_adapter *adapter)
+static int atl1_reset(struct atl1_adapter *adapter)
{
- int ret;
- ret = atl1_reset_hw(&adapter->hw);
- if (ret)
- return ret;
+ int retval;
+
+ retval = atl1_reset_hw(&adapter->hw);
+ if (retval)
+ return retval;
return atl1_init_hw(&adapter->hw);
}
--
1.5.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists