diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 07:50:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 14:55:49 -0700 |
commit | 0fb1e54ed17767521c18908d871f780f461ea1a6 (patch) | |
tree | f11090ab4e5271894d3dd4a664b95130f70192cc /drivers/net/atl1c/atl1c_main.c | |
parent | 49b052215b3319b69de8e2df412d06eae41088b4 (diff) | |
download | lwn-0fb1e54ed17767521c18908d871f780f461ea1a6.tar.gz lwn-0fb1e54ed17767521c18908d871f780f461ea1a6.zip |
atl1c: make functions static
The up/down are only used in this file.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c/atl1c_main.c')
-rw-r--r-- | drivers/net/atl1c/atl1c_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c index 99ffcf667d1f..09b099bfab2b 100644 --- a/drivers/net/atl1c/atl1c_main.c +++ b/drivers/net/atl1c/atl1c_main.c @@ -66,6 +66,8 @@ static void atl1c_set_aspm(struct atl1c_hw *hw, bool linkup); static void atl1c_setup_mac_ctrl(struct atl1c_adapter *adapter); static void atl1c_clean_rx_irq(struct atl1c_adapter *adapter, u8 que, int *work_done, int work_to_do); +static int atl1c_up(struct atl1c_adapter *adapter); +static void atl1c_down(struct atl1c_adapter *adapter); static const u16 atl1c_pay_load_size[] = { 128, 256, 512, 1024, 2048, 4096, @@ -2309,7 +2311,7 @@ static int atl1c_request_irq(struct atl1c_adapter *adapter) return err; } -int atl1c_up(struct atl1c_adapter *adapter) +static int atl1c_up(struct atl1c_adapter *adapter) { struct net_device *netdev = adapter->netdev; int num; @@ -2351,7 +2353,7 @@ err_alloc_rx: return err; } -void atl1c_down(struct atl1c_adapter *adapter) +static void atl1c_down(struct atl1c_adapter *adapter) { struct net_device *netdev = adapter->netdev; |