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-Url: https://git.stricted.de/?a=commitdiff_plain;h=f86b4ae6ac772f8177bfdd460ea43c319ca3f92d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 763ada18ad3d..f59509486113 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)