aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atlx/atl1.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 02:58:35 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 02:58:35 -0500
commit9dc20f553f8cb548feaba9dae0cb4905327ecbac (patch)
treed6888ac502e73f3373824c35701a68ae38ee5481 /drivers/net/atlx/atl1.c
parent888432f6720bec93ddae93c4d1483a18198a1b3b (diff)
drivers/net/atlx: fix sparse warnings: make symbols static
Fix this sparse warnings: drivers/net/atlx/atl1.c:198:16: warning: symbol 'atl1_check_options' was not declared. Should it be static? drivers/net/atlx/atl1.c:526:5: warning: symbol 'atl1_read_mac_addr' 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/atlx/atl1.c')
-rw-r--r--drivers/net/atlx/atl1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
index aef7e47fdd24..c0ceee0d7c80 100644
--- a/drivers/net/atlx/atl1.c
+++ b/drivers/net/atlx/atl1.c
@@ -195,7 +195,7 @@ static int __devinit atl1_validate_option(int *value, struct atl1_option *opt,
195 * value exists, a default value is used. The final value is stored 195 * value exists, a default value is used. The final value is stored
196 * in a variable in the adapter structure. 196 * in a variable in the adapter structure.
197 */ 197 */
198void __devinit atl1_check_options(struct atl1_adapter *adapter) 198static void __devinit atl1_check_options(struct atl1_adapter *adapter)
199{ 199{
200 struct pci_dev *pdev = adapter->pdev; 200 struct pci_dev *pdev = adapter->pdev;
201 int bd = adapter->bd_number; 201 int bd = adapter->bd_number;
@@ -523,7 +523,7 @@ static int atl1_get_permanent_address(struct atl1_hw *hw)
523 * Reads the adapter's MAC address from the EEPROM 523 * Reads the adapter's MAC address from the EEPROM
524 * hw - Struct containing variables accessed by shared code 524 * hw - Struct containing variables accessed by shared code
525 */ 525 */
526s32 atl1_read_mac_addr(struct atl1_hw *hw) 526static s32 atl1_read_mac_addr(struct atl1_hw *hw)
527{ 527{
528 u16 i; 528 u16 i;
529 529