summaryrefslogtreecommitdiff
path: root/arch/mips/cavium-octeon/executive/cvmx-pko.c
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2013-11-28 00:11:44 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-01-23 13:02:34 +0100
commitce4126cbe3d90cd00cb62f75b3b15f8e9260a301 (patch)
tree44035d05595fa49e4edee3436c30c44f89651801 /arch/mips/cavium-octeon/executive/cvmx-pko.c
parent63238f2cc5518e1c45a3418fc0ac0f560dafe7ef (diff)
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-pko.c')
-rw-r--r--arch/mips/cavium-octeon/executive/cvmx-pko.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-pko.c b/arch/mips/cavium-octeon/executive/cvmx-pko.c
index f2c877541597..008b881cdf64 100644
--- a/arch/mips/cavium-octeon/executive/cvmx-pko.c
+++ b/arch/mips/cavium-octeon/executive/cvmx-pko.c
@@ -140,7 +140,7 @@ void cvmx_pko_disable(void)
pko_reg_flags.s.ena_pko = 0;
cvmx_write_csr(CVMX_PKO_REG_FLAGS, pko_reg_flags.u64);
}
-
+EXPORT_SYMBOL_GPL(cvmx_pko_disable);
/**
* Reset the packet output.
@@ -182,6 +182,7 @@ void cvmx_pko_shutdown(void)
}
__cvmx_pko_reset();
}
+EXPORT_SYMBOL_GPL(cvmx_pko_shutdown);
/**
* Configure a output port and the associated queues for use.