]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01d2d69aaf45abdb221bde7a55bfe5011514cd06
tree5e43280e900e0e4f6907820f29cd9af4dd241066
parent4c8f58f6c2e604e717348c2f57796e3ed922bf1f
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