Skip to content

Commit

Permalink
net: ethernet: ti/cpsw-common.c: fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lad, Prabhakar authored and David S. Miller committed Feb 5, 2015
1 parent de70176 commit f86b4ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/ti/cpsw-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f86b4ae

Please sign in to comment.