From: Arnd Bergmann Date: Thu, 13 Mar 2014 09:44:34 +0000 (+0100) Subject: vmxnet3: fix building without CONFIG_PCI_MSI X-Git-Tag: v3.2.56~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd840143ae1bd82d1fe37914956198b24235c3a9;p=pandora-kernel.git vmxnet3: fix building without CONFIG_PCI_MSI commit 0a8d8c446b5429d15ff2d48f46e00d8a08552303 upstream. Since commit d25f06ea466e "vmxnet3: fix netpoll race condition", the vmxnet3 driver fails to build when CONFIG_PCI_MSI is disabled, because it unconditionally references the vmxnet3_msix_rx() function. To fix this, use the same #ifdef in the caller that exists around the function definition. Signed-off-by: Arnd Bergmann Cc: Neil Horman Cc: Shreyas Bhatewara Cc: "VMware, Inc." Cc: "David S. Miller" Acked-by: Neil Horman Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed