aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-22 04:16:13 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 03:00:37 -0500
commitfa4c16da738952882d51b265adbef1d8d329d50f (patch)
tree24038e596d4723ae2f5c9debf9d8cbf29620aa0b /drivers/net/e1000e
parentaf8eca5cbbc8f991ec14c8d7e3350bbe2ea49655 (diff)
drivers/net/e1000e: fix sparse warnings: make symbols static
Fix this sparse warnings: drivers/net/e1000e/es2lan.c:1265:5: warning: symbol 'e1000_read_kmrn_reg_80003es2lan' was not declared. Should it be static? drivers/net/e1000e/es2lan.c:1298:5: warning: symbol 'e1000_write_kmrn_reg_80003es2lan' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r--drivers/net/e1000e/es2lan.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/e1000e/es2lan.c b/drivers/net/e1000e/es2lan.c
index db51114ebfde..8964838c686b 100644
--- a/drivers/net/e1000e/es2lan.c
+++ b/drivers/net/e1000e/es2lan.c
@@ -1262,7 +1262,8 @@ static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw)
1262 * using the kumeran interface. The information retrieved is stored in data. 1262 * using the kumeran interface. The information retrieved is stored in data.
1263 * Release the semaphore before exiting. 1263 * Release the semaphore before exiting.
1264 **/ 1264 **/
1265s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) 1265static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
1266 u16 *data)
1266{ 1267{
1267 u32 kmrnctrlsta; 1268 u32 kmrnctrlsta;
1268 s32 ret_val = 0; 1269 s32 ret_val = 0;
@@ -1295,7 +1296,8 @@ s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data)
1295 * at the offset using the kumeran interface. Release semaphore 1296 * at the offset using the kumeran interface. Release semaphore
1296 * before exiting. 1297 * before exiting.
1297 **/ 1298 **/
1298s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) 1299static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
1300 u16 data)
1299{ 1301{
1300 u32 kmrnctrlsta; 1302 u32 kmrnctrlsta;
1301 s32 ret_val = 0; 1303 s32 ret_val = 0;