net: ena: Fix Kconfig dependency on X86
authorNetanel Belgazal <netanel@amazon.com>
Wed, 17 Oct 2018 10:04:21 +0000 (10:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 05:28:34 +0000 (22:28 -0700)
The Kconfig limitation of X86 is to too wide.
The ENA driver only requires a little endian dependency.

Change the dependency to be on little endian CPU.

Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/Kconfig

index 99b3035..9e87d7b 100644 (file)
@@ -17,7 +17,7 @@ if NET_VENDOR_AMAZON
 
 config ENA_ETHERNET
        tristate "Elastic Network Adapter (ENA) support"
-       depends on (PCI_MSI && X86)
+       depends on PCI_MSI && !CPU_BIG_ENDIAN
        ---help---
          This driver supports Elastic Network Adapter (ENA)"