aboutsummaryrefslogtreecommitdiff
path: root/et131x.c
diff options
context:
space:
mode:
Diffstat (limited to 'et131x.c')
-rw-r--r--et131x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/et131x.c b/et131x.c
index 36abaa2..1b06071 100644
--- a/et131x.c
+++ b/et131x.c
@@ -2,7 +2,8 @@
#include <string.h>
#include "internal.h"
-int et131x_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int et131x_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+ struct ethtool_regs *regs)
{
u8 version = (u8)(regs->version >> 24);
u32 *reg = (u32 *)regs->data;