]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit1567ca7eec7664b8be3b07755ac59dc1b1ec76cb
tree8df2dcce884a6fee6d6cdb87ca9d3d7ad8b23675
parent0736ffc04eec239cce9fd3c6ae5dce54e14c25c7
[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