aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-04 12:31:28 +0000
committerDavid S. Miller <davem@davemloft.net>2015-02-05 00:27:49 -0800
commitf86b4ae6ac772f8177bfdd460ea43c319ca3f92d (patch)
tree5dafe505517ba4872776045e62c6cd4239380b5c /drivers/net/ethernet/ti
parentnetxen: Delete an unnecessary check before the function call "kfree" (diff)
downloadlinux-dev-f86b4ae6ac772f8177bfdd460ea43c319ca3f92d.tar.xz
linux-dev-f86b4ae6ac772f8177bfdd460ea43c319ca3f92d.zip
net: ethernet: ti/cpsw-common.c: fix sparse warning
this patch fixes following sparse warning: cpsw-common.c:23:5: warning: symbol 'cpsw_am33xx_cm_get_macid' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r--drivers/net/ethernet/ti/cpsw-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw-common.c b/drivers/net/ethernet/ti/cpsw-common.c
index 763ada18ad3d..f59509486113 100644
--- a/drivers/net/ethernet/ti/cpsw-common.c
+++ b/drivers/net/ethernet/ti/cpsw-common.c
@@ -17,6 +17,8 @@
#include <linux/regmap.h>
#include <linux/mfd/syscon.h>
+#include "cpsw.h"
+
#define AM33XX_CTRL_MAC_LO_REG(offset, id) ((offset) + 0x8 * (id))
#define AM33XX_CTRL_MAC_HI_REG(offset, id) ((offset) + 0x8 * (id) + 0x4)