of/mdio: Staticise !CONFIG_OF stubs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 9 Oct 2012 18:33:38 +0000 (18:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 02:41:05 +0000 (22:41 -0400)
commit2a5cf8016c745191605f312a7cd7bd22e9be94a5
tree5e43280e900e0e4f6907820f29cd9af4dd241066
parentc468fb1375f1b4de851e3e0dbe9d1293d414a160
of/mdio: Staticise !CONFIG_OF stubs

The !CONFIG_OF stubs aren't static so if multiple files include the
header with this configuration then the linker will see multiple
definitions of the stubs.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/of_mdio.h