mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
22 lines
755 B
Diff
22 lines
755 B
Diff
|
From 3ffb14b6f3ddd9d8befe08482e31bc34103cf953 Mon Sep 17 00:00:00 2001
|
||
|
From: Madalin Bucur <madalin.bucur@nxp.com>
|
||
|
Date: Thu, 31 Aug 2017 09:08:15 +0300
|
||
|
Subject: [PATCH] sdk_dpaa: fix dpa_set_ksettings
|
||
|
|
||
|
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
|
||
|
---
|
||
|
drivers/net/ethernet/freescale/sdk_dpaa/dpaa_ethtool.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_ethtool.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_ethtool.c
|
||
|
@@ -107,7 +107,7 @@ static int __cold dpa_get_ksettings(stru
|
||
|
}
|
||
|
|
||
|
static int __cold dpa_set_ksettings(struct net_device *net_dev,
|
||
|
- struct ethtool_link_ksettings *cmd)
|
||
|
+ const struct ethtool_link_ksettings *cmd)
|
||
|
{
|
||
|
int _errno;
|
||
|
struct dpa_priv_s *priv;
|