Skip to content

Commit 5e8df79

Browse files
johankorkuba-moo
authored andcommitted
net: au1000_eth: Mark au1000_ReleaseDB() static
This fixes the following build warning: ``` drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes] 574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) | ^~~~~~~~~~~~~~~~ ``` Signed-off-by: Johan Korsnes <[email protected]> Cc: Andrew Lunn <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent f3483c8 commit 5e8df79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/amd/au1000_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ static struct db_dest *au1000_GetFreeDB(struct au1000_private *aup)
571571
return pDB;
572572
}
573573

574-
void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB)
574+
static void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB)
575575
{
576576
struct db_dest *pDBfree = aup->pDBfree;
577577
if (pDBfree)

0 commit comments

Comments
 (0)