aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/octeon/octeon.h
diff options
context:
space:
mode:
authorSteven J. Hill <steven.hill@cavium.com>2018-06-05 00:24:51 -0500
committerPaul Burton <paul.burton@mips.com>2018-07-24 17:39:03 -0700
commit840267e4466c72d48ca951a9678f48a322fade35 (patch)
treef48c15692e6baeddb8b5187c0d34ea878c3a03df /arch/mips/include/asm/octeon/octeon.h
parentMIPS: memset.S: Add comments to fault fixup handlers (diff)
downloadlinux-dev-840267e4466c72d48ca951a9678f48a322fade35.tar.xz
linux-dev-840267e4466c72d48ca951a9678f48a322fade35.zip
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/octeon.h')
-rw-r--r--arch/mips/include/asm/octeon/octeon.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/include/asm/octeon/octeon.h b/arch/mips/include/asm/octeon/octeon.h
index c99c4b6a79f4..60481502826a 100644
--- a/arch/mips/include/asm/octeon/octeon.h
+++ b/arch/mips/include/asm/octeon/octeon.h
@@ -279,13 +279,12 @@ union octeon_cvmemctl {
} s;
};
-extern void octeon_write_lcd(const char *s);
extern void octeon_check_cpu_bist(void);
-extern int octeon_get_boot_uart(void);
-struct uart_port;
-extern unsigned int octeon_serial_in(struct uart_port *, int);
-extern void octeon_serial_out(struct uart_port *, int, int);
+int octeon_prune_device_tree(void);
+extern const char __appended_dtb;
+extern const char __dtb_octeon_3xxx_begin;
+extern const char __dtb_octeon_68xx_begin;
/**
* Write a 32bit value to the Octeon NPI register space