summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet-util.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2019-07-26 10:44:25 -0700
committerDavid S. Miller <davem@davemloft.net>2019-07-29 10:35:41 -0700
commit171a9bae68c72f2d1260c3825203760856e6793b (patch)
tree2b74f9cac42643c57506b86ae56bc018b6468bdc /drivers/staging/octeon/ethernet-util.h
parentc51ab067c5312695331129806cb9a42791903305 (diff)
downloadlinux-171a9bae68c72f2d1260c3825203760856e6793b.tar.gz
linux-171a9bae68c72f2d1260c3825203760856e6793b.tar.bz2
linux-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/ethernet-util.h')
-rw-r--r--drivers/staging/octeon/ethernet-util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/octeon/ethernet-util.h b/drivers/staging/octeon/ethernet-util.h
index 31a82873e15c..2af83a12ca78 100644
--- a/drivers/staging/octeon/ethernet-util.h
+++ b/drivers/staging/octeon/ethernet-util.h
@@ -5,10 +5,6 @@
* Copyright (c) 2003-2007 Cavium Networks
*/
-#include <asm/octeon/cvmx-pip.h>
-#include <asm/octeon/cvmx-helper.h>
-#include <asm/octeon/cvmx-helper-util.h>
-
/**
* cvm_oct_get_buffer_ptr - convert packet data address to pointer
* @packet_ptr: Packet data hardware address