summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-octeon.c
diff options
context:
space:
mode:
authorJan Glauber2016-07-23 12:42:53 +0200
committerMark Brown2016-07-24 22:54:29 +0200
commit22cc1b6b35ce560ebf9252027397d5f1b92bfa9b (patch)
treed8f389e3f4136ead8796197b5e117552e323012a /drivers/spi/spi-octeon.c
parentspi: octeon: Put register offsets into a struct (diff)
downloadkernel-qcow2-linux-22cc1b6b35ce560ebf9252027397d5f1b92bfa9b.tar.gz
kernel-qcow2-linux-22cc1b6b35ce560ebf9252027397d5f1b92bfa9b.tar.xz
kernel-qcow2-linux-22cc1b6b35ce560ebf9252027397d5f1b92bfa9b.zip
spi: octeon: Move include file from arch/mips to drivers/spi
Move the register definitions to the drivers directory because they are only used there. Signed-off-by: Jan Glauber <jglauber@cavium.com> Tested-by: Steven J. Hill <steven.hill@cavium.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-octeon.c')
-rw-r--r--drivers/spi/spi-octeon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c
index 209eddcc19b6..21801769b808 100644
--- a/drivers/spi/spi-octeon.c
+++ b/drivers/spi/spi-octeon.c
@@ -15,7 +15,8 @@
#include <linux/of.h>
#include <asm/octeon/octeon.h>
-#include <asm/octeon/cvmx-mpi-defs.h>
+
+#include "spi-cavium.h"
#define OCTEON_SPI_MAX_BYTES 9