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)
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>

No differences found