]> git.karo-electronics.de Git - linux-beck.git/commit
net: davinci_mdio: Fix sparse warning
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Thu, 16 Jan 2014 06:05:41 +0000 (11:35 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jan 2014 01:29:53 +0000 (17:29 -0800)
commit9b05f462b78852fcb2b0508148a855d47c6e5c02
tree706e68fa3186f1711e3c1bd3f3dfc40df4c932cd
parent3ec775b9fb950db19175ab7984a0d65fda1142b4
net: davinci_mdio: Fix sparse warning

This patch fixes following sparse warning
davinci_mdio.c:85:27: warning: symbol 'default_pdata' was not declared. Should it be static?
Also makes the default_pdata as a constant.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_mdio.c