]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET]: Fix allnoconfig build on powerpc and avr32
authorDavid S. Miller <davem@davemloft.net>
Mon, 31 Mar 2008 07:28:14 +0000 (00:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Mar 2008 07:28:14 +0000 (00:28 -0700)
commit3edf8fa5ccf10688a9280b5cbca8ed3947c42866
tree800b92fde2349d42a7bf24175ce1190fd4406557
parent17eed249539a7b756ca65a5cb0940abc48ef553b
[NET]: Fix allnoconfig build on powerpc and avr32

As reported by Haavard Skinnemoen and Stephen Rothwell:

> allnoconfig fails with
>
> include/linux/netdevice.h:843: error: implicit declaration of function 'dev_net'
>
> which seems to be because the definition of dev_net is inside #ifdef
> CONFIG_NET, while next_net_device, which calls it, is not.

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