Commit a3741102 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Paul Burton

MIPS: OCTEON: cvmx-helper: make __cvmx_helper_errata_fix_ipd_ptr_alignment static

Make __cvmx_helper_errata_fix_ipd_ptr_alignment static, it's not used
outside the file.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21210/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
parent 3533b9ac
...@@ -818,7 +818,7 @@ static int __cvmx_helper_packet_hardware_enable(int interface) ...@@ -818,7 +818,7 @@ static int __cvmx_helper_packet_hardware_enable(int interface)
* Returns 0 on success * Returns 0 on success
* !0 on failure * !0 on failure
*/ */
int __cvmx_helper_errata_fix_ipd_ptr_alignment(void) static int __cvmx_helper_errata_fix_ipd_ptr_alignment(void)
{ {
#define FIX_IPD_FIRST_BUFF_PAYLOAD_BYTES \ #define FIX_IPD_FIRST_BUFF_PAYLOAD_BYTES \
(CVMX_FPA_PACKET_POOL_SIZE-8-CVMX_HELPER_FIRST_MBUFF_SKIP) (CVMX_FPA_PACKET_POOL_SIZE-8-CVMX_HELPER_FIRST_MBUFF_SKIP)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment