aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/stmmac_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/stmmac/stmmac_main.c')
-rw-r--r--drivers/net/stmmac/stmmac_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index 92bef30de092..963f591f1e0e 100644
--- a/drivers/net/stmmac/stmmac_main.c
+++ b/drivers/net/stmmac/stmmac_main.c
@@ -836,7 +836,7 @@ static int stmmac_open(struct net_device *dev)
836#ifdef CONFIG_STMMAC_TIMER 836#ifdef CONFIG_STMMAC_TIMER
837 priv->tm = kzalloc(sizeof(struct stmmac_timer *), GFP_KERNEL); 837 priv->tm = kzalloc(sizeof(struct stmmac_timer *), GFP_KERNEL);
838 if (unlikely(priv->tm == NULL)) { 838 if (unlikely(priv->tm == NULL)) {
839 pr_err("%s: ERROR: timer memory alloc failed \n", __func__); 839 pr_err("%s: ERROR: timer memory alloc failed\n", __func__);
840 return -ENOMEM; 840 return -ENOMEM;
841 } 841 }
842 priv->tm->freq = tmrate; 842 priv->tm->freq = tmrate;