summaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/executive/cvmx-spi.c
diff options
context:
space:
mode:
authorAaro Koskinen2013-11-27 23:11:44 +0100
committerRalf Baechle2014-01-23 13:02:34 +0100
commitce4126cbe3d90cd00cb62f75b3b15f8e9260a301 (patch)
tree44035d05595fa49e4edee3436c30c44f89651801 /arch/mips/cavium-octeon/executive/cvmx-spi.c
parentMIPS: Fix build error seen in some configurations (diff)
downloadkernel-qcow2-linux-ce4126cbe3d90cd00cb62f75b3b15f8e9260a301.tar.gz
kernel-qcow2-linux-ce4126cbe3d90cd00cb62f75b3b15f8e9260a301.tar.xz
kernel-qcow2-linux-ce4126cbe3d90cd00cb62f75b3b15f8e9260a301.zip
MIPS: cavium-octeon: export symbols needed by octeon-ethernet
Export symbols needed by the octeon-ethernet driver. The patch fixes a build failure with CONFIG_OCTEON_ETHERNET=m. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: David Daney <david.daney@cavium.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6166/
Diffstat (limited to 'arch/mips/cavium-octeon/executive/cvmx-spi.c')
-rw-r--r--arch/mips/cavium-octeon/executive/cvmx-spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-spi.c b/arch/mips/cavium-octeon/executive/cvmx-spi.c
index ef5198d13a0e..459e3b1eb61f 100644
--- a/arch/mips/cavium-octeon/executive/cvmx-spi.c
+++ b/arch/mips/cavium-octeon/executive/cvmx-spi.c
@@ -177,6 +177,7 @@ int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout)
return res;
}
+EXPORT_SYMBOL_GPL(cvmx_spi_restart_interface);
/**
* Callback to perform SPI4 reset