]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netxen: fix CONFIG_INET=n build
authorDhananjay Phadke <dhananjay@netxen.com>
Tue, 28 Jul 2009 09:10:03 +0000 (09:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2009 04:41:46 +0000 (21:41 -0700)
commit044824d96208c8ec4863f9c54a529e00a1f1d37c
tree9b7628f12f648ce970f751624f6d26949ce19473
parent6cf5767c7107c606644503f3e95bc1855386a70f
netxen: fix CONFIG_INET=n build

Wrap dest IP hashing code with #ifdef CONFIG_INET,
this feature makes no sense without INET, but other
driver can still work.

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