projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3533b9a
)
MIPS: OCTEON: cvmx-helper: make __cvmx_helper_errata_fix_ipd_ptr_alignment static
author
Aaro Koskinen
<
[email protected]
>
Wed, 21 Nov 2018 22:37:26 +0000
(
00:37
+0200)
committer
Paul Burton
<
[email protected]
>
Wed, 21 Nov 2018 23:36:41 +0000
(15:36 -0800)
Make __cvmx_helper_errata_fix_ipd_ptr_alignment static, it's not used
outside the file.
Signed-off-by: Aaro Koskinen <
[email protected]
>
Signed-off-by: Paul Burton <
[email protected]
>
Patchwork: https://patchwork.linux-mips.org/patch/21210/
Cc: Ralf Baechle <
[email protected]
>
Cc: James Hogan <
[email protected]
>
Cc:
[email protected]
arch/mips/cavium-octeon/executive/cvmx-helper.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/executive/cvmx-helper.c
b/arch/mips/cavium-octeon/executive/cvmx-helper.c
index 75108ec669ebc881c6949962ef61f6368c4a814a..24d13e1845bbd5c1876e041a11a14a1bdd636060 100644
(file)
--- a/
arch/mips/cavium-octeon/executive/cvmx-helper.c
+++ b/
arch/mips/cavium-octeon/executive/cvmx-helper.c
@@
-818,7
+818,7
@@
static int __cvmx_helper_packet_hardware_enable(int interface)
* Returns 0 on success
* !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 \
(CVMX_FPA_PACKET_POOL_SIZE-8-CVMX_HELPER_FIRST_MBUFF_SKIP)