Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] octeon: prom_putchar() must be void
@ 2017-01-17 17:36 Alexander Sverdlin
  2017-01-17 17:36 ` Alexander Sverdlin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexander Sverdlin @ 2017-01-17 17:36 UTC (permalink / raw)
  Cc: Alexander Sverdlin, Alexander Sverdlin, Ralf Baechle, David Daney,
	Aaro Koskinen, Steven J. Hill, linux-mips

From: Alexander Sverdlin <alexander.sverdlin@nsn.com>

Correct the function return type.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
Cc: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: "Steven J. Hill" <steven.hill@cavium.com>
Cc: linux-mips@linux-mips.org
---
 arch/mips/cavium-octeon/setup.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index 9a2db1c013d9..bb613d3e5246 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -1095,7 +1095,7 @@ void __init plat_mem_setup(void)
  * Emit one character to the boot UART.	 Exported for use by the
  * watchdog timer.
  */
-int prom_putchar(char c)
+void prom_putchar(char c)
 {
 	uint64_t lsrval;
 
@@ -1106,7 +1106,6 @@ int prom_putchar(char c)
 
 	/* Write the byte */
 	cvmx_write_csr(CVMX_MIO_UARTX_THR(octeon_uart), c & 0xffull);
-	return 1;
 }
 EXPORT_SYMBOL(prom_putchar);
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-17 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17 17:36 [PATCH] octeon: prom_putchar() must be void Alexander Sverdlin
2017-01-17 17:36 ` Alexander Sverdlin
2017-01-17 17:58 ` David Daney
2017-01-17 17:58   ` David Daney
2017-01-17 18:00 ` Ralf Baechle
2017-01-17 18:02   ` David Daney
2017-01-17 18:02     ` David Daney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox