diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2019-07-26 10:44:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-29 10:35:41 -0700 |
commit | 171a9bae68c72f2d1260c3825203760856e6793b (patch) | |
tree | 2b74f9cac42643c57506b86ae56bc018b6468bdc /drivers/staging/octeon/Kconfig | |
parent | net: ag71xx: use resource_size for the ioremap size (diff) | |
download | linux-dev-171a9bae68c72f2d1260c3825203760856e6793b.tar.xz linux-dev-171a9bae68c72f2d1260c3825203760856e6793b.zip |
staging/octeon: Allow test build on !MIPS
Add compile test support by moving all includes of files under
asm/octeon into octeon-ethernet.h, and if we're not on MIPS,
stub out all the calls into the octeon support code in octeon-stubs.h
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging/octeon/Kconfig')
-rw-r--r-- | drivers/staging/octeon/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/Kconfig b/drivers/staging/octeon/Kconfig index 1e3012b9991c..5b3994649d99 100644 --- a/drivers/staging/octeon/Kconfig +++ b/drivers/staging/octeon/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 config OCTEON_ETHERNET tristate "Cavium Networks Octeon Ethernet support" - depends on CAVIUM_OCTEON_SOC && NETDEVICES + depends on CAVIUM_OCTEON_SOC && NETDEVICES || COMPILE_TEST select PHYLIB select MDIO_OCTEON help |