mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
net: atheros: atl1c: Fix wrong function name in comments
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/atheros/atl1c/atl1c_main.c:442: warning: expecting prototype for atl1c_set_mac(). Prototype was for atl1c_set_mac_addr() instead drivers/net/ethernet/atheros/atl1c/atl1c_main.c:969: warning: expecting prototype for atl1c_setup_mem_resources(). Prototype was for atl1c_setup_ring_resources() instead drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1375: warning: expecting prototype for atl1c_configure(). Prototype was for atl1c_configure_mac() instead Cc: Chris Snook <chris.snook@gmail.com> Signed-off-by: Yang Shen <shenyang39@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1d7f7ecadc
commit
8965c1c535
1 changed files with 3 additions and 3 deletions
|
@ -432,7 +432,7 @@ static void atl1c_restore_vlan(struct atl1c_adapter *adapter)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* atl1c_set_mac - Change the Ethernet Address of the NIC
|
* atl1c_set_mac_addr - Change the Ethernet Address of the NIC
|
||||||
* @netdev: network interface device structure
|
* @netdev: network interface device structure
|
||||||
* @p: pointer to an address structure
|
* @p: pointer to an address structure
|
||||||
*
|
*
|
||||||
|
@ -960,7 +960,7 @@ static void atl1c_free_ring_resources(struct atl1c_adapter *adapter)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* atl1c_setup_mem_resources - allocate Tx / RX descriptor resources
|
* atl1c_setup_ring_resources - allocate Tx / RX descriptor resources
|
||||||
* @adapter: board private structure
|
* @adapter: board private structure
|
||||||
*
|
*
|
||||||
* Return 0 on success, negative on failure
|
* Return 0 on success, negative on failure
|
||||||
|
@ -1366,7 +1366,7 @@ static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* atl1c_configure - Configure Transmit&Receive Unit after Reset
|
* atl1c_configure_mac - Configure Transmit&Receive Unit after Reset
|
||||||
* @adapter: board private structure
|
* @adapter: board private structure
|
||||||
*
|
*
|
||||||
* Configure the Tx /Rx unit of the MAC after a reset.
|
* Configure the Tx /Rx unit of the MAC after a reset.
|
||||||
|
|
Loading…
Reference in a new issue