summaryrefslogtreecommitdiff
path: root/net/ethtool/phc_vclocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethtool/phc_vclocks.c')
-rw-r--r--net/ethtool/phc_vclocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/phc_vclocks.c b/net/ethtool/phc_vclocks.c
index 637b2f5297d5..cadaabed60bd 100644
--- a/net/ethtool/phc_vclocks.c
+++ b/net/ethtool/phc_vclocks.c
@@ -24,7 +24,7 @@ const struct nla_policy ethnl_phc_vclocks_get_policy[] = {
static int phc_vclocks_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 phc_vclocks_reply_data *data = PHC_VCLOCKS_REPDATA(reply_base);
struct net_device *dev = reply_base->dev;