summaryrefslogtreecommitdiff
path: root/net/ethtool/tsinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethtool/tsinfo.c')
-rw-r--r--net/ethtool/tsinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/tsinfo.c b/net/ethtool/tsinfo.c
index 63b5814bd460..9daed0aab162 100644
--- a/net/ethtool/tsinfo.c
+++ b/net/ethtool/tsinfo.c
@@ -25,7 +25,7 @@ const struct nla_policy ethnl_tsinfo_get_policy[] = {
static int tsinfo_prepare_data(const struct ethnl_req_info *req_base,
struct ethnl_reply_data *reply_base,
- struct genl_info *info)
+ const struct genl_info *info)
{
struct tsinfo_reply_data *data = TSINFO_REPDATA(reply_base);
struct net_device *dev = reply_base->dev;