diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-04 15:31:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 11:27:49 +0300 |
commit | f86b4ae6ac772f8177bfdd460ea43c319ca3f92d (patch) | |
tree | 5dafe505517ba4872776045e62c6cd4239380b5c | |
parent | de7017625e8b642506b7e56574353cc9695ca357 (diff) | |
download | linux-f86b4ae6ac772f8177bfdd460ea43c319ca3f92d.tar.xz |
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>
-rw-r--r-- | drivers/net/ethernet/ti/cpsw-common.c | 2 |
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) |