Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9feae56c authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarDhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 02571f89
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2450,6 +2450,10 @@ static struct notifier_block netxen_netdev_cb = {
static struct notifier_block netxen_inetaddr_cb = {
	.notifier_call = netxen_inetaddr_event,
};
#else
static void
netxen_config_indev_addr(struct net_device *dev, unsigned long event)
{ }
#endif

static struct pci_driver netxen_driver = {