From: Lad, Prabhakar Date: Wed, 4 Feb 2015 12:31:28 +0000 (+0000) Subject: net: ethernet: ti/cpsw-common.c: fix sparse warning X-Git-Tag: v4.0-rc1~133^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f86b4ae6ac772f8177bfdd460ea43c319ca3f92d;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ti/cpsw-common.c b/drivers/net/ethernet/ti/cpsw-common.c index 763ada1..f595094 100644 --- a/drivers/net/ethernet/ti/cpsw-common.c +++ b/drivers/net/ethernet/ti/cpsw-common.c @@ -17,6 +17,8 @@ #include #include +#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)