summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h
diff options
context:
space:
mode:
authorSteven J. Hill <steven.hill@cavium.com>2018-06-05 08:24:51 +0300
committerPaul Burton <paul.burton@mips.com>2018-07-25 03:39:03 +0300
commit840267e4466c72d48ca951a9678f48a322fade35 (patch)
treef48c15692e6baeddb8b5187c0d34ea878c3a03df /arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h
parent6312455a0437a64059bdeee5696b375593a09947 (diff)
downloadlinux-840267e4466c72d48ca951a9678f48a322fade35.tar.xz
MIPS: Octeon: Remove extern declarations.
Get rid of extern declarations in .c functions and included the necessary header file. Also remove unused UART declares. Signed-off-by: Steven J. Hill <steven.hill@cavium.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/19477/ Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h')
-rw-r--r--arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h b/arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h
index b5b45d26f1c5..847dd9dca6ea 100644
--- a/arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h
+++ b/arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h
@@ -4,7 +4,7 @@
* Contact: support@caviumnetworks.com
* This file is part of the OCTEON SDK
*
- * Copyright (c) 2003-2012 Cavium Networks
+ * Copyright (C) 2003-2018 Cavium, Inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, Version 2, as
@@ -268,6 +268,8 @@ static inline uint64_t CVMX_PCSXX_TX_RX_STATES_REG(unsigned long block_id)
return CVMX_ADD_IO_SEG(0x00011800B0000830ull) + (block_id) * 0x1000000ull;
}
+void __cvmx_interrupt_pcsxx_int_en_reg_enable(int index);
+
union cvmx_pcsxx_10gbx_status_reg {
uint64_t u64;
struct cvmx_pcsxx_10gbx_status_reg_s {