summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/efx_common.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2022-04-12 12:13:32 +0200
committerPaolo Abeni <pabeni@redhat.com>2022-04-12 12:13:32 +0200
commit93c1a40075a3ba4b3578cda3f6b319c6f2806475 (patch)
tree03cf775f017160b476d1ab4315ae84e2ff6f9a66 /drivers/net/ethernet/sfc/efx_common.c
parent80ecb114f23ba089571e1320abdfa728795f4b03 (diff)
parentd78eaf06b5d9f4686846ca4e35207025c415ba85 (diff)
downloadlinux-93c1a40075a3ba4b3578cda3f6b319c6f2806475.tar.gz
linux-93c1a40075a3ba4b3578cda3f6b319c6f2806475.tar.bz2
linux-93c1a40075a3ba4b3578cda3f6b319c6f2806475.zip
Merge branch 'sfc-remove-some-global-definitions'
Martin Habets says: ==================== sfc: Remove some global definitions These are some small cleanups to remove definitions that need not be defined in .h files. ==================== Link: https://lore.kernel.org/r/164967635861.17602.16525009567130361754.stgit@palantir17.mph.net Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx_common.c')
-rw-r--r--drivers/net/ethernet/sfc/efx_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/efx_common.c b/drivers/net/ethernet/sfc/efx_common.c
index af37c990217e..f6577e74d6e6 100644
--- a/drivers/net/ethernet/sfc/efx_common.c
+++ b/drivers/net/ethernet/sfc/efx_common.c
@@ -51,8 +51,8 @@ static unsigned int efx_monitor_interval = 1 * HZ;
/* Default stats update time */
#define STATS_PERIOD_MS_DEFAULT 1000
-const unsigned int efx_reset_type_max = RESET_TYPE_MAX;
-const char *const efx_reset_type_names[] = {
+static const unsigned int efx_reset_type_max = RESET_TYPE_MAX;
+static const char *const efx_reset_type_names[] = {
[RESET_TYPE_INVISIBLE] = "INVISIBLE",
[RESET_TYPE_ALL] = "ALL",
[RESET_TYPE_RECOVER_OR_ALL] = "RECOVER_OR_ALL",