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/ethernet-defines.h | |
parent | c51ab067c5312695331129806cb9a42791903305 (diff) |
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/ethernet-defines.h')
-rw-r--r-- | drivers/staging/octeon/ethernet-defines.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/octeon/ethernet-defines.h b/drivers/staging/octeon/ethernet-defines.h index 1e114422993a..ef9e767b0e2e 100644 --- a/drivers/staging/octeon/ethernet-defines.h +++ b/drivers/staging/octeon/ethernet-defines.h @@ -21,8 +21,6 @@ #ifndef __ETHERNET_DEFINES_H__ #define __ETHERNET_DEFINES_H__ -#include <asm/octeon/cvmx-config.h> - #ifdef CONFIG_NETFILTER #define REUSE_SKBUFFS_WITHOUT_FREE 0 #else |