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)
commit9feae56c0de65fdd8b1f64f376bb6578417d2b79
tree84d3338d3813efffcee251b43af1ab234c9fcc18
parent02571f89871e009b66fb5f8d5ae222e90e9f357c
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