]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Protect device namespace inlines with CONFIG_NET
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2008 22:53:11 +0000 (15:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2008 22:53:11 +0000 (15:53 -0700)
commitcbfc65c4a32b898640eeeaa6a63d80d1d7535f10
tree8df2dcce884a6fee6d6cdb87ca9d3d7ad8b23675
parent26777563987ed635b3e5f89ef912c8c6469f2ad6
[NET]: Protect device namespace inlines with CONFIG_NET

Include sites should not be bothered by whether
CONFIG_NET is set or not when trying to include
benign files like linux/etherdevice.h et al.

From a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h