Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71311931 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by David S. Miller
Browse files

net: alx: make alx_drv_name static



alx_drv_name is not used outside main.c, so there's no reason for it to
have external linkage.

Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97adadda
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -140,6 +140,5 @@ struct alx_priv {
};

extern const struct ethtool_ops alx_ethtool_ops;
extern const char alx_drv_name[];

#endif
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
#include "hw.h"
#include "reg.h"

const char alx_drv_name[] = "alx";
static const char alx_drv_name[] = "alx";

static void alx_free_txbuf(struct alx_tx_queue *txq, int entry)
{