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>
This commit is contained in:
parent
888432f672
commit
9dc20f553f
1 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ static int __devinit atl1_validate_option(int *value, struct atl1_option *opt,
|
||||||
* value exists, a default value is used. The final value is stored
|
* value exists, a default value is used. The final value is stored
|
||||||
* in a variable in the adapter structure.
|
* in a variable in the adapter structure.
|
||||||
*/
|
*/
|
||||||
void __devinit atl1_check_options(struct atl1_adapter *adapter)
|
static void __devinit atl1_check_options(struct atl1_adapter *adapter)
|
||||||
{
|
{
|
||||||
struct pci_dev *pdev = adapter->pdev;
|
struct pci_dev *pdev = adapter->pdev;
|
||||||
int bd = adapter->bd_number;
|
int bd = adapter->bd_number;
|
||||||
|
@ -523,7 +523,7 @@ static int atl1_get_permanent_address(struct atl1_hw *hw)
|
||||||
* Reads the adapter's MAC address from the EEPROM
|
* Reads the adapter's MAC address from the EEPROM
|
||||||
* hw - Struct containing variables accessed by shared code
|
* hw - Struct containing variables accessed by shared code
|
||||||
*/
|
*/
|
||||||
s32 atl1_read_mac_addr(struct atl1_hw *hw)
|
static s32 atl1_read_mac_addr(struct atl1_hw *hw)
|
||||||
{
|
{
|
||||||
u16 i;
|
u16 i;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue