]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: build fix for INET=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 11 Sep 2009 12:41:04 +0000 (12:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Sep 2009 22:51:39 +0000 (15:51 -0700)
commit0b63c30574774f714a0d89832e9a8754ff016b32
tree84d3338d3813efffcee251b43af1ab234c9fcc18
parent1b605cf067434fe83f8aa3d9a7311e8078f2d6e4
netxen: build fix for INET=n

When CONFIG_INET is disabled, netxen has a build failure:

netxen_nic_main.c:(.text+0x118fd1): undefined reference to `netxen_config_indev_addr'

so make that function just an empty stub when CONFIG_INET=n.
(not "inline" since that conflicts with other declarations of it)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c